Thanks to both Michael and Ivan - I spent all my time staring at the
new urls file and not at the original project file :-(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Hi Simon!
Simon Johnston wrote:
> I have followed the tutorials in setting up a basic index and detail
> page for one of my model classes. I created the project level urls.py
> as follows:
>
> from django.conf.urls.defaults import *
> urlpatterns = patterns('',
> (r'^accounts/$',
Simon Johnston wrote:
>from django.conf.urls.defaults import *
>urlpatterns = patterns('',
>(r'^accounts/$', include('RealLife.crm.urls')),
>
>
"$" is what breaks your URL.
>Using the URLconf defined in RealLife.urls, Django tried these URL
>patterns, in this order:
> 1. ^accounts/$
>
I have followed the tutorials in setting up a basic index and detail
page for one of my model classes. I created the project level urls.py
as follows:
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^accounts/$', include('RealLife.crm.urls')),
(r'^admin/',
4 matches
Mail list logo