From: jerome <rom...@ya...> - 2010-06-28 09:49:13
|
I cannot reproduce it with my configuration : python 2.6.2 django 1.1.1 > "/usr/lib/python2.6/site-packages/django/utils/functional.py", > line 277, in __getattr__ > return getattr(self._wrapped, name) > File > "/usr/lib/python2.6/site-packages/django/conf/__init__.py", > AttributeError: 'module' object has no attribute > 'DATABASES' Maybe current code cannot be used with django 1.2.1 ? What is your django version ? --- En date de : Sam 26.6.10, Martin Steer <mar...@ma...> a écrit : > De: Martin Steer <mar...@ma...> > Objet: [Gramps-devel] Django import/export broken? > À: "gramps-devel" <gra...@li...> > Date: Samedi 26 juin 2010, 20h18 > I'm trying to follow the instructions > on: > > <http://www.gramps-project.org/wiki/index.php?title=GRAMPS_SQL_Database> > > However, I get the following error when trying to load > ExportDjango.py > with the plugin manager: > > Traceback (most recent call last): > File > "/home/abs/local/gramps-svn/src/gramps32-build/src/gen/plug/_manager.py", > line 170, in load_plugin > _module = __import__(plugin) > File > "/home/martin/.gramps/gramps32/plugins/Django/ExportDjango.py", > line 69, in <module> > from web.libdjango import DjangoInterface > File > "/home/abs/local/gramps-svn/src/gramps32-build/src/web/libdjango.py", > line 37, in <module> > import web.grampsdb.models as models > File > "/home/abs/local/gramps-svn/src/gramps32-build/src/web/grampsdb/models.py", > line 32, in <module> > from django.db import models > File > "/usr/lib/python2.6/site-packages/django/db/__init__.py", > line 14, in <module> > if not settings.DATABASES: > File > "/usr/lib/python2.6/site-packages/django/utils/functional.py", > line 277, in __getattr__ > return getattr(self._wrapped, name) > File > "/usr/lib/python2.6/site-packages/django/conf/__init__.py", > line 127, in __getattr__ > return getattr(self.default_settings, name) > AttributeError: 'module' object has no attribute > 'DATABASES' > > -- > Martin > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel > |