I have copied a Django project to my web server from a repo and am getting 
the correct initial landing page for the website with the right styling 
when I go to the main URL. Most other urls give "page not found" errors. 
This includes the divs that are called on to make menus on the main page so 
the "Page not found" error is printing over the main landing page. 

I'm not sure where to start with diagnosis - any thoughts would be 
appreciated.

I have checked the urls.py file and have tried to go directly to the URLs 
listed starting with http://mysite.org/project/ ...

urlpatterns = patterns('',
# index.html gives a page not found error
 url(r'^$', 'project.views.index', name='index'),


# These go to an unstyled page with correct text
    url(r'^signup/$', 'project.views.signUp', name='signup'),
        url(r'^login/$', 'project.views.login', name='login'),
        url(r'^logout/$', 'project.views.logout', name='logout'),


# These also give a page not found error

url(r'^$', 'project.views.index', name='index'),
url(r'^map/nav/$', 'project.views.mapNavigation', name='mav_nav'),
url(r'^interview/new/$', 'project.views.interviewSelect', 
name='interview_select'),
url(r'^interview/player/$', 'project.views.interviewPlayer', 
name='interview_player'),
url(r'^interview/retailer/$', 'project.views.interviewRetailer', 
name='interview_retailer'),
url(r'^popup/(?P<layer>.+)/(?P<neighborhood>.+)/(?P<perin>.+)/(?P<dol>.+)/(?P<sale>.+)/(?P<win>.+)/(?P<income>.+)/(?P<netwin>.+)/(?P<id>.+)/$','project.views.popup',name='popup'),


Lee

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/168719a0-8a10-4bb0-aa9a-ecd490dbf977%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to