I keep getting these errors but the module is right where it should
be.

Exception Type:         ImportError
Exception Value:        No module named models
Exception Location:     /Users/username/django-projects/mysite.com/mysite/
projects/urls/projects.py in <module>, line 2

On Nov 23, 11:46 am, neridaj <[email protected]> wrote:
> I've noticed that sometimes errors in my url conf will cause strange
> unrelated errors that have sent me down paths that don't need to be
> followed because it's a simple typo. I can't seem to find it here but
> maybe I need another set of eyes on it.
>
>     (r'^projects/', include('projects.urls.projects')),
>
> # projects/urls/projects.py
>
> from django.conf.urls.defaults import *
> from projects.models import Project
>
> project_info_dict = {
>     'queryset': Project.objects.all(),
>
> }
>
> urlpatterns = patterns('django.views.generic.list_detail',
>     (r'^$', 'object_list', project_info_dict),
>     (r'^(?P<slug>[-\w]+)/$', 'object_detail', project_info_dict),
> )
>
> Thanks,
>
> J

--

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=.


Reply via email to