Re: Trouble resolving URLs

2006-05-18 Thread Simon Johnston
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

Re: Trouble resolving URLs

2006-05-17 Thread Michael Radziej
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/$',

Re: Trouble resolving URLs

2006-05-17 Thread Ivan Sagalaev
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/$ >

Trouble resolving URLs

2006-05-17 Thread Simon Johnston
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/',