Anyone with experience on django-preferences app or similar?
Im still trying to embed a page in my admin site where I can let the user to change some global variables (like in wordpress) such as the site name, meta keywords, etc.
Apparently there is an app that does this but I cannot get it to work (Im using Django 1.3): http://github.com/praekelt/django-preferences
NOTE: I tried both from prefer开发者_JS百科ences.model import Preferences
and from preferences.models import Preferences
it still cannot find the Preferences object.
Many thanks!
The docs were incorrect, it should read:
from preferences.models import Preferences
I've corrected the docs.
As Andrew suggest though it looks like your problem is caused by the module not being correctly installed. If you don't mind installing it as a system wide module, run the following:
$ easy_install django-preferences
精彩评论