#18019: ./manage.py testserver with in-memory sqlite database fails on 1.4
-------------------------------------+-------------------------------------
     Reporter:  hcarvalhoalves       |                    Owner:  nobody
         Type:  Uncategorized        |                   Status:  new
    Component:  Core (Management     |                  Version:  1.4
  commands)                          |               Resolution:
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by DNX):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I can confirm this bug under following environment:

 Ubuntu (10.04 or 11.10) 64bit

 Clean installation of Django 1.4 in a clean virtualenv.

 Start a project with '''startproject'''

 Enable "admin" in INSTALLED_APPS and urls.py

 Run '''./manage.py testserver'''

 Navigate to '''http://localhost:8000/admin/'''


 You will see the above reported error.

 As temporary fix, you can set the TEST_NAME for your DATABASE in
 settings.py

 Example:

 {{{

 if 'testserver' in sys.argv:
     DATABASES['default']['TEST_NAME'] = '/tmp/testserver.db'
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18019#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to