Changes between Initial Version and Version 1 of Ticket #7714
- Timestamp:
- Jul 11, 2008, 4:06:33 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7714 – Description
initial v1 1 1 there were two errors: 2 1. ('^client/(\d+)/$', 'app_name.app_views.client') originally ('^client/(\d+)/$', 'app_views.client')3 gives you an ImportError (ViewDoesNotExist)2 1. {{{('^client/(\d+)/$', 'app_name.app_views.client') }}} originally {{{ ('^client/(\d+)/$', 'app_views.client')}}} 3 gives you an `ImportError (ViewDoesNotExist)` 4 4 5 2. { % url app_name.app_views.client client.id %} originally {% url app_views.client client.id %}5 2. {{{ {% url app_name.app_views.client client.id %} }}} originally {{{ {% url app_views.client client.id %} }}} 6 6 simply doesn't work 7 7 8 8 to check I did: 9 1. startapp app_name10 2. add urls.py to the main urls.py as in the docs11 3. add urls.py to app_name/urls.py as shown above12 4. creates app_views.py with view client that gives back {% url app_views.client client.id %} 9 1. startapp app_name 10 2. add urls.py to the main urls.py as in the docs 11 3. add urls.py to app_name/urls.py as shown above 12 4. creates app_views.py with view client that gives back `{% url app_views.client client.id %}`