Closed galkinAIP closed 1 year ago
I think this is a misunderstanding: .../meetings/2019
does not have any view so it will always return 404. .../meetings/2019/registration/
is the registration form. /participants/
and /contributions/
are also public if the corresponding boxes are checked in the admin interface.
Meetings app is set in base/local.py. Django admin allows to create a new meeting, but
Page not found (404)
is thrown for.../meetings/2019
.Copied
registration.html
toapp/templates/meetings
, no difference.http://mimosa:9494/meetings/2019/registration/ daiquiri.meetings.views.registration
Page not found (404) Request Method: GET Request URL: http://mimosa:9494/meetings/2019 Using the URLconf defined in config.urls, Django tried these URL patterns, in this order:
[name='home'] accounts/ archive/ auth/ conesearch/ contact/ files/ meetings/ api/ meetings//registration/ [name='registration']
meetings/ /registration/done/ [name='registration_done']
meetings/ /participants/ [name='participants']
meetings/ /contributions/ [name='contributions']
meetings/ /management/ [name='management']
meetings/ /export/participants// [name='export_participants']
meetings/ /export/abstracts/ [name='export_abstracts']
meetings/ /export/emails/ [name='export_emails']
metadata/
oai/
registry/
serve/
stats/
query/
tap/
uws/
layout/ [name='layout']
admin/
The current path, meetings/2019, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.