thank u.
how can i get it in request.POST?
On Oct 26, 6:34 pm, Tomi Pievil inen <[EMAIL PROTECTED]> wrote:
> > but in python ,there is no problem
>
> That's because Django doesn't give you the whole URI, just the path
> component. "?" is a reserved character used to signal the start of
> the
> qu
for example:
in urls.py, i use " (r'^login/\?next=(?P.+)/$', 'login') " to
parse this url
http://127.0.0.1:8000/user/login/?next=/user/1/add/
but i can't get the value of variable 'next ' in login function
but in python ,there is no problem.
>>> import re
>>> a="login/?next=/user/1/add/"
>>> b=r
i visit http://127.0.0.1:8000/media/image/post-jg.gif
and return Page not found:
C:\Python24\lib\site-packages\django-0.95-py2.4.egg\django/contrib/admin/media\image/post-jg.gif
my project locates D:\project\rankba\,and set MEDIA_ROOT =
'D:\\project\\rankba\\media' in settings.py
--~--~
3 matches
Mail list logo