-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

james_027 schrieb:
> Hi ani,
> 
> On Aug 24, 3:42 pm, Ani Nair <[EMAIL PROTECTED]> wrote:
>> Hi I'm new to this.. I want to know whether django restricts the use
>> of '?' in urls. I am unable to use it in the url config
> 
> My guess is that "?" is a special char in regex which django uses in
> url config... try to escape it. Hope it helps
> 
> cheers,
> james
> 
> 
yes ? is a special character, both in regexp and in urls!
I discourage you from using it!
if you make a urlconf like:
(r'/bla/blupp/','myview')
/bla/blupp/ and /bla/blupp/?gffg=dfsdf&dfsdf=dfsdf
will all call myview!
the gffg is available via request.GET['gffg']

greetz Paul Rauch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iQIVAwUBRs6ThBG67lyyQrltAQICehAAoXV6zK8o0W3IoIDFE04odwSwl9xiHpy8
RIbCmKw7Bb8Qd/JDlZ9Ie1WkBZtotPihcG9mtHJVAUg76nPpDCtTS0lfk+6wF9/x
MK5fILhhGRCl8mcOidVkQx3JdQ9Jv56gg/UpT98r36izU9fNk1xZLO/4qEea/oH/
E0IgU9O5qVMzEQbbA+m3ZyIl3edEhE49PrtGSnGM5pfIS9Q7YBNF4/tyxj3loRQw
b/Uoa6uHOmwvHWRs55qWTTNdQdMoN2LWYTh1ux1A3LvwKloUI9kcL3OEXBZoPa3e
UUJmq+N9Z4x3UuuvvUl1CuTZYLf8Bji6v+efAiNyhZCOOGK6vecBBvKQANYYsn+o
q0p9VRxKhfuK+Z5kHr5ArJmyVRiSz+0W/x907IKcecS+Zpku+teyB3Cb1uotFGuq
7AaLLC9jvAzFIlITy66x5xhmZnrYIdQ00xSVi8r0CUmA3NJgUoUKavYhxxpKkLeS
mu8DsEmJkuXopb/UWtqEdyi55TKMkZNwmSSlhbCNyuYpXMFRnK3tsQCje2D83f2Z
RXDvLUAT0Q8EaZ18ljCzNQKaZkio++d2TfBTIKs9tcz/lIatG+cUGXYUG+6A7zWv
97IpCyAVegkBJ0akKi6rz+R1rD85MwPsz2/buMGYLa4GMFTMcDEBmaiN6BuJfM0u
/EoDPCFkd0E=
=0v3C
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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