blob: aa0ee81f3d63fe0b52e0fbba2da4025c530366dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
===============
Online Exam
===============
Online test application lets user(student) take an online programming test.
A special user called moderator can add questions, create question paper,
conduct online test and monitor the test.
Quick start
------------
1. Add "testapp.exam", "taggit" and "taggit_autocomplete_modified" apps
to your INSTALLED_APPS setting as follows:
INSTALLED_APPS =(
'testapp.exam',
'taggit',
'taggit_autocomplete_modified',
)
2. In project settings, add AUTH_PROFILE_MODULE = 'testapp.exam.Profile'
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:
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 *
Note: location of the above file will probably be as
../lib/python2.7/site-packages/taggit_autocomplete_modified/urls.py
5. Run 'python manage.py syncdb' to create "exam" models.
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
Note: You must have a sudo access to run the above command.
|