Dashboard Error

115 views
Skip to first unread message

Caleb Lamb

unread,
Feb 8, 2014, 11:14:35 PM2/8/14
to django...@googlegroups.com
Trying to access dashboard.

Is something missing from the install docs?


ImproperlyConfigured at /accounts/login/

You're using the Django "sites framework" without having set the SITE_ID setting. Create a site in your database and set the SITE_ID setting to fix this error.
Request Method:POST
Request URL:http://market.pacat.io/accounts/login/?next=/dashboard/
Django Version:1.6.2
Exception Type:ImproperlyConfigured
Exception Value:
You're using the Django "sites framework" without having set the SITE_ID setting. Create a site in your database and set the SITE_ID setting to fix this error.
Exception Location:/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py in get_current, line 43
Python Executable:/usr/bin/python
Python Version:2.7.3
Python Path:
['/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/local/lib/python2.7/dist-packages/PIL',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/pymodules/python2.7',
 '/var/www/market.pacat.io/marketplace/']
Server time:Sun, 9 Feb 2014 04:12:58 +0000

David Winterbottom

unread,
Feb 10, 2014, 4:45:07 AM2/10/14
to django-oscar
Do you have a SITE_ID in your settings?  Normally, Django will put one there by default (hence why it isn't in Oscar's docs).


--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to the Google Groups "django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-oscar...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-oscar.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-oscar/DF7C4020-640E-40A7-9492-4C355973C1E1%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
David Winterbottom
Technical Director

Tangent Labs
84-86 Great Portland Street
London W1W 7NR
England, UK

Jochen Wagner

unread,
Feb 10, 2014, 10:54:19 AM2/10/14
to django...@googlegroups.com, david.win...@tangentlabs.co.uk
Since Django 1.6 the sites framework is not enabled by default. To enable it, see

https://docs.djangoproject.com/en/1.6/ref/contrib/sites/#enabling-the-sites-framework

Jochen

Maik Hoepfel

unread,
Feb 10, 2014, 11:13:13 AM2/10/14
to django...@googlegroups.com
Thanks Jochen,

have added it to the docs in
https://github.com/tangentlabs/django-oscar/commit/1cc5770b3f36790913ff9f2e2bc12431eb50cfad

- Maik

On 10/02/14 15:54, Jochen Wagner wrote:
> Since Django 1.6 the sites framework is not enabled by default. To
> enable it, see
>
> https://docs.djangoproject.com/en/1.6/ref/contrib/sites/#enabling-the-sites-framework
>
> Jochen
>
>
> Am Montag, 10. Februar 2014 10:45:07 UTC+1 schrieb David Winterbottom:
>
> Do you have a SITE_ID in your settings? Normally, Django will put
> one there by default (hence why it isn't in Oscar's docs).
>
>
> On 9 February 2014 04:14, Caleb Lamb <cale...@gmail.com
> '/var/www/market.pacat.io/marketplace/ <http://market.pacat.io/marketplace/>']
>
> Server time: Sun, 9 Feb 2014 04:12:58 +0000
>
>
> --
> https://github.com/tangentlabs/django-oscar
> <https://github.com/tangentlabs/django-oscar>
> http://django-oscar.readthedocs.org/en/latest/
> <http://django-oscar.readthedocs.org/en/latest/>
> https://twitter.com/django_oscar <https://twitter.com/django_oscar>
> ---
> You received this message because you are subscribed to the
> Google Groups "django-oscar" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to django-oscar...@googlegroups.com <javascript:>.
> <http://groups.google.com/group/django-oscar>.
> <https://groups.google.com/d/msgid/django-oscar/DF7C4020-640E-40A7-9492-4C355973C1E1%40gmail.com>.
> For more options, visit https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
>
>
> --
> *David Winterbottom*
> Technical Director
>
> Tangent Labs
> 84-86 Great Portland Street
> London W1W 7NR
> England, UK
>
> --
> https://github.com/tangentlabs/django-oscar
> http://django-oscar.readthedocs.org/en/latest/
> https://twitter.com/django_oscar
> ---
> You received this message because you are subscribed to the Google
> Groups "django-oscar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-oscar...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-oscar.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-oscar/720d5205-53b0-4ad0-b62e-8eba70af891e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages