diff options
author | prathamesh | 2014-08-11 01:25:35 +0530 |
---|---|---|
committer | prathamesh | 2014-08-11 01:25:35 +0530 |
commit | 7fb736c5751023b1a0c4237b0dcedf457c1d42c7 (patch) | |
tree | e566dba459c58b9b912ab1a1dcbcbea446275d4a /testapp/README.rst | |
parent | 740b0acfe6436cf2919b6da655f379ca6c7faaf4 (diff) | |
download | online_test-7fb736c5751023b1a0c4237b0dcedf457c1d42c7.tar.gz online_test-7fb736c5751023b1a0c4237b0dcedf457c1d42c7.tar.bz2 online_test-7fb736c5751023b1a0c4237b0dcedf457c1d42c7.zip |
setup.py and readme files updated
Diffstat (limited to 'testapp/README.rst')
-rw-r--r-- | testapp/README.rst | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/testapp/README.rst b/testapp/README.rst index aa0ee81..6f49d4b 100644 --- a/testapp/README.rst +++ b/testapp/README.rst @@ -11,7 +11,7 @@ Quick start ------------ 1. Add "testapp.exam", "taggit" and "taggit_autocomplete_modified" apps - to your INSTALLED_APPS setting as follows: + to your INSTALLED_APPS setting as follows:: INSTALLED_APPS =( 'testapp.exam', @@ -23,28 +23,19 @@ Quick start You can change the testapp.exam.Profile to your desired app user profile. 3. Include the "testapp.exam" and taggit_autocomplete_modified URL configuration - in your project urls.py as follows: + in your project urls.py as follows:: url(r'^exam/', include('testapp.exam.urls')), url(r'^taggit_autocomplete_modified/', include\ ('taggit_autocomplete_modified.urls')) -4. Since taggit_autocomplete_modified version for django=>1.5 is not available - you have to do one change manually. In taggit_autocomplete_modified app url, - remove "default" from the import statement as follows: - Change: from django.conf.urls.defaults import * - to : from django.conf.urls import * +4. Run 'python manage.py syncdb' to create models for the new installed apps. - Note: location of the above file will probably be as - ../lib/python2.7/site-packages/taggit_autocomplete_modified/urls.py +5. Start the development server and visit http://localhost:8000/exam/ -5. Run 'python manage.py syncdb' to create "exam" models. +6. In exam app run code_sever command as superuser as follows:: -6. Start the development server and visit http://localhost:8000/exam/ - -7. In exam app run code_sever command as superuser as follows: - - $ code_server + $ code_server Note: You must have a sudo access to run the above command. |