django app with a generic name
- by zaharpopov
Django tutorials everywhere use constant-set application name all around - in urls file, in HTML templates, in views. But if I want to distribute an application and let the user sets it name (i.e. its URL postfix on http://server.com/appname) - how can I do?
I must have some common name setting then in configuration, but how to work it for template files, etc?