Hello Graham,

         I tried the method u told me...But still the same result. Let
me clear a few things. I created a new project "crimemap" in /home/
priya/projects/
and app "mapper" inside crimemap. Now I am getting an error when i run
the server. python manage.py runserver

Error while importing URLconf 'crimemap.urls': name 'crimemap' is not
defined
Request Method:         GET
Request URL:    http://localhost:8000/
Exception Type:         ImproperlyConfigured
Exception Value:        Error while importing URLconf 'crimemap.urls': name
'crimemap' is not defined
Exception Location:     /usr/lib/python2.5/site-packages/django/core/
urlresolvers.py in _get_urlconf_module, line 255
Python Executable:      /usr/bin/python
Python Version:         2.5.0

On Nov 7, 11:38 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> Check the file and directory permissions like suggested when you were
> first trying to setup your site, this time looking at any new files
> and directories you have added within your site area. They should have
> permissions so they are readable to Apache.
>
> Graham
>
> On Nov 8, 6:32 pm, stranger <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> >  I did the linking as you said:
> > ln -s /home/priya/projects/crimemap /usr/lib/python2.5/site-packages/
> > crimemap
>
> > Also I restarted Apache, but nno change....
>
> > ImproperlyConfigured at /crime/arson/
> > Error while importing URLconf 'crimemap.urls': name 'crimemap' is not
> > defined
> > Request Method:         GET
> > Request URL:    http://localhost:8000/crime/arson/
> > Exception Type:         ImproperlyConfigured
> > Exception Value:        Error while importing URLconf 'crimemap.urls': name
> > 'crimemap' is not defined
> > Exception Location:     /usr/lib/python2.5/site-packages/django/core/
> > urlresolvers.py in _get_urlconf_module, line 255
> > Python Executable:      /usr/bin/python
> > Python Version:         2.5.0
>
> > On Nov 7, 11:16 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> > > On 08-Nov-07, at 12:34 PM, stranger wrote:
>
> > > > Can you please tell me how to put crimemap on path. What is sym-
> > > > linking? Can you explain briefly?
>
> > > as root, at the prompt type:
> > > ln -s /pathtocrimemap/crimemap /usr/lib/python2.x/site-packages/crimemap
> > > and press enter
>
> > > for the 'x' for python2.x, put your python version (3,4 or 5)
> > > for further information, do man ln
>
> > > --
>
> > > regards
> > > kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to