You are not logged in.

Change Language:

Freelancer? Consultant? Check out: WorkTrail - Time Tracking made easy
Profile for spammyk

Name spammyk
Email Address n/a
Posts1
  • Checking that path in urls.py has exactly 6 characters
    Board » Django » Views
    Hi,

    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...)

    Kai


Powered by Sphene Community Tools