Hi Ramashish,
I haven't tried it, but I think that you could just use regular
expression extension notation to make the regex case insensitive in
your url conf.
So instead of:
('users/add/', 'views.add'),
You'd do:
('(?i)users/add/', 'views.add'),
Try it and let everyone know if that works...
On Jun 2, 1:35 pm, Ramashish Baranwal <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I would like to make urls of my site case-insensitive. As I
> understand, by default the url matching is case-sensitive. Is there a
> way to specify in my urls.py that I want a case-insensitive match?
>
> Thanks,
> Ram
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---