i can't fix that error actually i don't understand this error.

my urls.py :
#coding:utf8

import os
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$', 'public.views.index'),
    (r'^public/', include('public.urls')),
    (r'^products/', include('products.urls')),
    (r'^partners/', include('partners.urls')),
    (r'^certificate/', include('certificate.urls')),
    (r'^contactus/','public.views.Contactus'),
    (r'^place/$','public.views.Ourplace'),

    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/(.*)', include(admin.site.urls)),
)

urlpatterns += patterns('django.contrib.auth.views',
    (r'^accounts/login/$', 'login', {'template_name': 'login.html'}),
    (r'^accounts/logout/$', 'logout', {'template_name': 'logout.html'}),
)


And my settings.py file

INSTALLED_APPS = (
    # Base
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.admindocs',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    # My Own
    'chonogol.public',
    'chonogol.certificate',
    'chonogol.partners',
    'chonogol.products',
)


i'm wondering . Wha't wrong ?


On Sat, Nov 13, 2010 at 9:59 PM, Robbington <robbing...@hotmail.co.uk>wrote:

> Ok,
>
> Thanks, I was just seeing if it was a more basic error.
>
> Unfortunately with out seeing more of your code/ error message it is
> hard to diagnose the problem. I have to go out now for a few hours,
> but if you post the full error message someone/or myself when I get
> back maybe able to help you.
>
> It could be a mirad of things, error in one of your views, a problem
> in your settings.py(Check you ROOT_URLCONF to make sure it is pointing
> to the right place)or a compatiabilty issue if you have recently
> upgraded django, unless I have missed something really obvious. I have
> found a few posts that resolve similar problems to get you started:
>
> http://www.pubbs.net/201002/django/15026-no-module-named-urls.html
>
>
> http://groups.google.com/group/django-users/browse_thread/thread/e54e9801e053ecd3
>
> I hope this helps.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to