diff --git a/doc/add-conference.rst b/doc/add-conference.rst index 5edac3a..eebf081 100644 --- a/doc/add-conference.rst +++ b/doc/add-conference.rst @@ -1,26 +1,20 @@ Add a new conference ==================== -We suppose our conference is hosted at ``cfp.example.org``. -The slides for this conference will be uploaded in ``/media/example/``. +We suppose our conference is hosted at ``cfp.example.org``:: -Create a new ``Site`` object:: + $ ./manage.py addsite cfp.example.org - $ ./manage.py shell - $ from django.contrib.sites.models import Site - $ Site.objects.create(domain='cfp.example.org', name='example') +The slides for this conference will be uploaded in +``/media/example/``, in a ``cfp.example.org`` sub-directory. -The ``name`` field is the sub-directory in the media directory where upload slides. -The displayed name of the conference is stored in the ``Conference`` model. +The displayed name of the conference is stored in the ``Conference`` +model and can be modified from the web interface. Add the domain in ``ponyconf/local_settings.py``:: ALLOWED_HOSTS = [ 'cfp.example.org' ] -Reload the configuration:: - - $ touch touch_to_reload - Make sure you web server is configured to serve this new domain. Configure the e-mails.