On Wed, Oct 28, 2009 at 4:16 PM, Umapathy S <[email protected]> wrote:
> view_xyz is the view function. No arguments.
>
> exps is the application. pams is project.
>
> pams/urls.py
>
> urlpatterns = patterns('',
> # Example:
> # (r'^pams/', include('pams.foo.urls')),
> (r'pams/', include('pams.exps.urls')),
>
>
> pams/exps.urls.py
>
> from django.conf.urls.defaults import *
> from django.views.generic import list_detail
> from pams.exps.models import *
>
> urlpatterns = patterns('pams.exps.views',
> (r'exps/xyz/$', 'view_xyz'),
>
Try with {% url exps.views.view_xyz ....
or "pams.exps.views.view_xyz"
{%
--
Kind Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---