Any resolution to this?

On Jul 1, 4:55 pm, dvd <[email protected]> wrote:
> On 1 Lug, 02:55, Chris Moffitt <[email protected]> wrote:
>
> > Did you add your custom product to your installed apps settings?
>
> while reading the downloadable product source code I've found the
> "import config" line
> near the end of the models.py (docs doesn't mention that); I added the
> import but I obtain a nice
> traceback:
>
> Traceback (most recent call last):
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/core/management/commands/runserver.py", line 48, in inner_run
>     self.validate(display_num_errors=True)
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/core/management/base.py", line 245, in validate
>     num_errors = get_validation_errors(s, app)
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/core/management/validation.py", line 28, in
> get_validation_errors
>     for (app_name, error) in get_app_errors().items():
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/db/models/loading.py", line 146, in get_app_errors
>     self._populate()
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/db/models/loading.py", line 61, in _populate
>     self.load_app(app_name, True)
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/db/models/loading.py", line 78, in load_app
>     models = import_module('.models', app_name)
>   File "/home/dvd/Projects/django-dev/lib/python2.6/site-packages/
> django/utils/importlib.py", line 35, in import_module
>     __import__(name)
>   File "/home/dvd/Projects/exlibris/bookrepublic/store/ex_satchmo/
> models.py", line 38, in <module>
>     import config
>   File "/home/dvd/Projects/exlibris/bookrepublic/store/ex_satchmo/
> config.py", line 6, in <module>
>     PRODUCT_TYPES = config_get('PRODUCT', 'PRODUCT_TYPES')
>   File "/home/dvd/Projects/django-dev/src/django-livesettings/
> livesettings/functions.py", line 149, in config_get
>     return ConfigurationSettings().get_config(group, key)
>   File "/home/dvd/Projects/django-dev/src/django-livesettings/
> livesettings/functions.py", line 71, in get_config
>     raise SettingNotSet('%s.%s' % (group, key))
> livesettings.models.SettingNotSet: ('PRODUCT.PRODUCT_TYPES', None)
>
> any idea?

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to