django app with a generic name

Posted by zaharpopov on Stack Overflow See other posts from Stack Overflow or by zaharpopov
Published on 2010-03-21T04:50:22Z Indexed on 2010/03/21 4:51 UTC
Read the original article Hit count: 278

Filed under:

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?

© Stack Overflow or respective owner

Related posts about django