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
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
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
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/$',
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
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
6 matches
Mail list logo