#5716: Running the tests on Debian
---------------------------------+------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody                  
  Status:  new                   |   Component:  Documentation           
 Version:  SVN                   |    Keywords:  Debian tests runtests.py
   Stage:  Unreviewed            |   Has_patch:  0                       
---------------------------------+------------------------------------------
 I suggest adding this somewhere in
 http://www.djangoproject.com/documentation/contributing/. This belongs
 with the "Running the unit tests" Perhaps have a separate section for
 distribution specific information? An alternative would be some wiki page,
 but I'm not sure where.

 
******************************************************************************************

 To run the Django tests on Debian, since Debian does not currently have
 the tests installed, it is necessary to do the following.

 Install some version (I used 0.96+svn6373-1), which is the most recent
 packaged version available at time writing

 apt-get source python-django=0.96+svn6373-1

 cd python-django-0.96+svn6373/tests/

 python runtests.py --settings=django.conf.project_template.settings

 If is simplest to use sqlite3 for the database. In that case, it is
 necessary to edit /usr/share/python-support/python-
 django/django/conf/project_template/settings.py
 and add DATABASE_ENGINE = 'sqlite3' and also install python-pysqlite2.
 Faheem.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5716>
Django Code <http://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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to