You are not logged in.

Change Language:

Freelancer? Consultant? Check out: WorkTrail - Time Tracking made easy
Board » Django » Views » Checking that path in has exactly 6 characters


i tried to have a forwarding to a view if the path name has exactly 6 chara:

url(r'^\w{6}', 'test.views.weiter'),

for Django it is irrelevatn if there are 6 or more characters... only if there are less than 6 I get an error...

Has anyone an idea?? (I'm not so familiar with regex...)


Powered by Sphene Community Tools