Page not found (404)

Request Method: GET
Request URL: http://af-contract.clubfirst.ru/2.php

Using the URLconf defined in cotf_contracts.urls, Django tried these URL patterns, in this order:

  1. admin/
  2. [name='contract_template_list']
  3. contracts/ [name='contract_list']
  4. agreement/<contract_number>/ [name='contract_detail']
  5. administration/ [name='administration']
  6. login/ [name='login']
  7. logout/ [name='user_logout']
  8. ^upload/(?P<path>.*)$
  9. download/<contract_number> [name='download']

The current path, 2.php, 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.