Alan Bailey wrote:
> ImportError at /unixgroups/34/  No module named group
> 
> Here is urls.py:
> from django.conf.urls.defaults import *
> 
> urlpatterns = patterns('',
>     # Example:
>     # (r'^djaccounts/', include('djaccounts.apps.foo.urls.foo')),
> 
>     # Uncomment this for admin:
>     (r'^admin/$', include('django.contrib.admin.urls.admin')),
>     (r'^unixgroups/$', include('djaccounts.unixgroups.views.index')),
>     (r'^unixgroups/(\d+)/$', include('djaccounts.unixgroups.views.group')),

Hi Alan. Your problem is that you're using include, which imports
another url file, and uses its urlpatterns. If you want to call a specific view 
function from the urls.py above, simply use the string 
'djaccounts.unixgroups.views.group' without the include.
-- 
Lach
http://illuminosity.net/




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to