Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » General » New feature

Hi Herbert. I propose a new future as new parametr for settings.py. It parametr exist in sphene/community/managment.py in <b> def init_data </b> and snippet from there:

group = Group( name = 'example',
longname = 'Example Group',
baseurl = 'www.example.com', )
So, My propose is : name, longname , baseurl move to settings.py. That is values for it do in settings.py.
Am I right. It will be comfortably for configuration.

Thank you for comprehension.

PS
Because I correct your code but if i update sphene i lost it.

--- Last Edited by romankrv at 2009-08-22 14:29:00 ---
this makes no sense. init data is only called during the first syncdb. no one would ever need that feature. simply change it in the database instead of the settings.py and you are good to go. i can't see any advantage in modifying settings.py vs. modifing the database _once_
Hey, we have Signatures !!! Great, isn't it ? ;)

Please login to post a reply.



Powered by Sphene Community Tools