Hi Malcom,

Thanks for getting back to me so quickly. Updatting to r5520 has fixed
my problem. Good work on you fix so :)

Thanks again

Brian

On Jun 24, 11:58 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2007-06-24 at 10:38 +0000, brian corrigan wrote:
> > Hi all,
>
> > I have written a blog app and tested it locally with the dev server.
> > It is working fine for me, I can get to the admin etc. I then set up
> > an fcgi server on Dream host, following Jeff Crofts tutorial at
> >http://www2.jeffcroft.com/blog/2006/may/11/django-dreamhost/
>
> > Before adding my app I could see the django page that comes up before
> > you add an app, but after adding the app I'm getting this error,
> > 'module' object has no attribute 'urlpatterns' . (my urls file is
> > below)
>
> This normally means there was a problem importing one of the URLConf
> files. Could either be the main one or one of the included ones.
>
>
>
> > I have looked at other posts on this and they don't seem to help. I
> > also saw somewhere that the problem might be using include() in my
> > urls. I don't want to take this out though because I'd have to add in
> > all the admin comments manually into my urls and that would get messy.
>
> > Locally I am using Django 0.95 but on the host I'm using the latest
> > django svn revision (as of 24/06/2007). Not sure that this would cause
> > the error though.
>
> I have very recently (about an hour ago) fixed a bug in the subversion
> code that I seemed to have introduced yesterday. At least, I think it
> was a bug -- I can't trigger the problem with my testing, but it looked
> suspicious in ticket #4673.
>
> If you are using a subversion checkout that is r5516 or newer (use "svn
> info" to check), update to r5520 and see if the problem goes away.
>
> If that doesn't fix the problem, try running "manage.py shell" and then
> "import urls". You will see any tracebacks in the shell, then, and we
> can probably help a bit more.
>
> You could also try checking out a slighter early subversion copy (r5515
> would be interesting) to see if that changes things. Because I can't
> trigger the problem I think I'm fixing in r5520, I wouldn't be too
> shocked to find there's still something going wrong.
>
> Regards,
> Malcolm


--~--~---------~--~----~------------~-------~--~----~
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