Opened 8 years ago

Closed 8 years ago

#9092 closed (fixed)

Validation of project and application names isn't thorough enough

Reported by: morty Owned by: nobody
Component: Core (Other) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


As project and application names get used as a Python modules they have to follow the correct naming convention (see here). The current check allows for the name to start with a number which is not allowed.

Attachments (1)

9092.diff (903 bytes) - added by morty 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by morty

comment:1 Changed 8 years ago by kratorius

  • Component changed from Uncategorized to Core framework
  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Maybe something like "^[_a-zA-Z]\w*" could be more readable regexp.

comment:2 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [9043]) Fixed #9092 -- Improved validation of app/project names by startapp/startproject so that it doesn't allow names to start with a number.

Note: See TracTickets for help on using tickets.
Back to Top