Re: Using Authentication Framework

2007-03-01 Thread ScottB
Hi Matt. > The problem is that it then trys to serve the css from the wrong url - > in the server window I get > > "GET /accounts/site_media/default.css HTTP/1.1" 404 2644 > > whereas the correct path is /site_media/default.css I think you want the url for your media directory to be full, rathe

Re: Using Authentication Framework

2007-02-28 Thread MattW
Ok, I've got a new problem. I've set up the files as in the examples in the Django book. The @login_required decorator always sends the user to /accounts/ login. However, since this uses the same css as the other templates, I try and have it inheriting from them. The problem is that it then trys

Re: Using Authentication Framework

2007-02-28 Thread MattW
Thanks a lot - all solved! Matt --~--~-~--~~~---~--~~ 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

Re: Using Authentication Framework

2007-02-28 Thread Joseph Kocherhans
On 2/28/07, MattW <[EMAIL PROTECTED]> wrote: > > Dear All, > > I am trying to use the users/ authentication framework supplied with > Django. I wrote something very simple myself, but would arther use the > bundled system. > > I have a urls.py file with: > > (r'^login/$', login), > (r'^logout/$',

Re: Using Authentication Framework

2007-02-28 Thread Malcolm Tredinnick
On Wed, 2007-02-28 at 05:05 -0800, MattW wrote: > Dear All, > > I am trying to use the users/ authentication framework supplied with > Django. I wrote something very simple myself, but would arther use the > bundled system. > > I have a urls.py file with: > > (r'^login/$', login), > (r'^logout

Using Authentication Framework

2007-02-28 Thread MattW
Dear All, I am trying to use the users/ authentication framework supplied with Django. I wrote something very simple myself, but would arther use the bundled system. I have a urls.py file with: (r'^login/$', login), (r'^logout/$', logout), in (I know these are different to the ones given in t