-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Did you run manage.py syncdb in your project folder?
And are the apps in your settings.py?

Luke Seelenbinder


marcoshernandez wrote:
> Im having this error in my application (both admin models and my app
> models) I'm almost certain that has to be something with Apache-
> mod_wsgi not finding the files... but I just can't find the origin of
> the error...
> complete traceback next:
> 
> Environment:
> 
> Request Method: GET
> Request URL: http://127.0.0.1/admin/
> Django Version: 1.0.2 final
> Python Version: 2.6.2
> Installed Applications:
> ['django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.sessions',
>  'django.contrib.sites',
>  'django.contrib.admin',
>  'mysite.polls']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware')
> 
> 
> Traceback:
> File "C:\Python26\lib\site-packages\django\core\handlers\base.py" in
> get_response
>   86.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "C:\Python26\lib\site-packages\django\contrib\admin\sites.py" in
> root
>   140.         if not self.has_permission(request):
> File "C:\Python26\lib\site-packages\django\contrib\admin\sites.py" in
> has_permission
>   99.         return request.user.is_authenticated() and
> request.user.is_staff
> File "C:\Python26\lib\site-packages\django\contrib\auth\middleware.py"
> in __get__
>   5.             request._cached_user = get_user(request)
> File "C:\Python26\lib\site-packages\django\contrib\auth\__init__.py"
> in get_user
>   83.         user_id = request.session[SESSION_KEY]
> File "C:\Python26\lib\site-packages\django\contrib\sessions\backends
> \base.py" in __getitem__
>   46.         return self._session[key]
> File "C:\Python26\lib\site-packages\django\contrib\sessions\backends
> \base.py" in _get_session
>   172.                 self._session_cache = self.load()
> File "C:\Python26\lib\site-packages\django\contrib\sessions\backends
> \db.py" in load
>   16.                 expire_date__gt=datetime.datetime.now()
> File "C:\Python26\lib\site-packages\django\db\models\manager.py" in
> get
>   93.         return self.get_query_set().get(*args, **kwargs)
> File "C:\Python26\lib\site-packages\django\db\models\query.py" in get
>   304.         num = len(clone)
> File "C:\Python26\lib\site-packages\django\db\models\query.py" in
> __len__
>   160.                 self._result_cache = list(self.iterator())
> File "C:\Python26\lib\site-packages\django\db\models\query.py" in
> iterator
>   275.         for row in self.query.results_iter():
> File "C:\Python26\lib\site-packages\django\db\models\sql\query.py" in
> results_iter
>   206.         for rows in self.execute_sql(MULTI):
> File "C:\Python26\lib\site-packages\django\db\models\sql\query.py" in
> execute_sql
>   1734.         cursor.execute(sql, params)
> File "C:\Python26\lib\site-packages\django\db\backends\util.py" in
> execute
>   19.             return self.cursor.execute(sql, params)
> File "C:\Python26\lib\site-packages\django\db\backends
> \sqlite3\base.py" in execute
>   168.         return Database.Cursor.execute(self, query, params)
> 
> Exception Type: OperationalError at /admin/
> Exception Value: no such table: django_session
> > 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpvulIACgkQXQrGVCncjPxvbwCePG3a0DGKpsYcHZfh5l0cAcZX
JlcAn2xnNX8OguotubJcSbY0wxhHXk9A
=Ko3m
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to