~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/projectservice.py

  • Committer: William Grant
  • Date: 2010-02-23 08:55:42 UTC
  • mto: This revision was merged to the branch mainline in revision 1674.
  • Revision ID: grantw@unimelb.edu.au-20100223085542-r8xw14bxxoraza51
Permit underscores in all names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        if not VALID_URL_NAME.match(short_name):
46
46
            raise BadRequest(
47
47
                "Project names must consist of an alphanumeric character "
48
 
                "followed by any number of alphanumerics, ., + or -.")
 
48
                "followed by any number of alphanumerics, ., +, - or _.")
49
49
 
50
50
        if req.store.find(
51
51
            Project,