Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo bug #6

Closed
Ddper opened this issue Apr 22, 2013 · 0 comments
Closed

demo bug #6

Ddper opened this issue Apr 22, 2013 · 0 comments
Assignees

Comments

@Ddper
Copy link

Ddper commented Apr 22, 2013

ImproperlyConfigured at /auth/user/
settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

django-xadmin/demo_app/demo/settings.py

try:
    import dj_database_url
    # DATABASES['default'] = dj_database_url.config(default="sqlite:////" + os.path.join(PROJECT_ROOT, 'data.db'))  # 正确代码
    DATABASES['default'] = dj_database_url.config()  # 错误代码
except Exception:
    pass
@ghost ghost assigned sshwsfc Apr 22, 2013
@sshwsfc sshwsfc closed this as completed May 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants