]> git.parisson.com Git - django_quiz.git/commitdiff
update to 0.5.0
authortomwalker <tomwalker0472@gmail.com>
Wed, 30 Jul 2014 09:20:54 +0000 (10:20 +0100)
committertomwalker <tomwalker0472@gmail.com>
Wed, 30 Jul 2014 09:20:54 +0000 (10:20 +0100)
README.rst
runtests.py
setup.py

index 5c93420c1f2c24cf54bd5cc3b3598eb26cdabb9f..9643dfcdc1ca44ca65a62ff3c16b27ad99929db1 100644 (file)
@@ -2,24 +2,10 @@
 Django quiz app
 ===============
 
-.. image:: https://travis-ci.org/tomwalker/django_quiz.svg?branch=master
-    :target: https://travis-ci.org/tomwalker/django_quiz
-
 This is a configurable quiz app for Django.
 
-I use it to run a few medical revision websites. Here is an `example
-website`_
-
-My websites have used twitter bootstrap for the front end and I have
-tried to strip out anything from the template files that are dependant
-on bootstrap.
-
-.. image:: http://i.imgur.com/VRYx3OV.png
-
-
 Current features
 ----------------
-
 * Question order randomisation
 * Storing of quiz results under each user
 * Previous quiz scores can be viewed on category page
@@ -29,10 +15,14 @@ Current features
 * Questions can be given a category
 * Success rate for each category can be monitored on a progress page
 * Explanation for each question result can be given
+* Pass marks can be set
 * Multiple choice question type
 * True/False question type
+* Essay question type
+* Custom message displayed for those that pass or fail a quiz
+* Custom permission (view_sittings) added, allowing users with that permission to view quiz results from users
+* A marking page which lists completed quizzes, can be filtered by quiz or user, and is used to mark essay questions
 
-.. image:: http://i.imgur.com/UJtRZxo.png
 
 Requirements
 ------------
@@ -44,36 +34,28 @@ It was developed using Django 1.6.5
 Installation
 ------------
 
-Clone the repo with
-    .. code-block:: bash
-           ``git clone https://github.com/tomwalker/django_quiz.git``.
+  git clone https://github.com/tomwalker/django_quiz.git
 
-Run ``pip install -r requirements.txt``.
+  pip install -r requirements.txt
 
-Add ``'quiz', 'multichoice', 'true_false',`` to your ``INSTALLED_APPS``
-setting.
+Add 'quiz', 'multichoice', 'true_false', and 'essay' to your 'INSTALLED_APPS' setting.
 
-    .. code-block:: python
-        INSTALLED_APPS = (
-            ...
-            'quiz',
-            'multichoice',
-            'true_false',
-            ...
-        )
+  INSTALLED_APPS = (
+      ...
+      'quiz',
+      'multichoice',
+      'true_false',
+      ...
+  )
 
-Add the following to your projects ``urls.py`` file, substituting ``q``
+Add the following to your projects 'urls.py' file, substituting 'q'
 for whatever you want the quiz base url to be.
 
-    .. code-block:: python
-        urlpatterns = patterns('',
-            ...
-            url(r'^q/', include('quiz.urls')),
-            ...
-        )
-
-This is my first open source project so please forgive any problems
-and/or dreadful code!
+  urlpatterns = patterns('',
+      ...
+      url(r'^q/', include('quiz.urls')),
+      ...
+  )
 
 MIT License (MIT) Copyright (c) 2012 - 2014 Dr Tom Walker
 
@@ -95,5 +77,3 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-.. _example website: http://www.revisemrcp.com/
index 6462cdb0bd79de1f7d496180ebf7f70809e1b0db..79ab62f2cc2128932d478f5978684e298ee03504 100644 (file)
@@ -1,4 +1,5 @@
-import os, sys
+import os
+import sys
 os.environ['DJANGO_SETTINGS_MODULE'] = 'test-settings'
 test_dir = os.path.dirname(__file__)
 sys.path.insert(0, test_dir)
@@ -6,6 +7,7 @@ sys.path.insert(0, test_dir)
 from django.test.utils import get_runner
 from django.conf import settings
 
+
 def runtests():
     TestRunner = get_runner(settings)
     test_runner = TestRunner(verbosity=1, interactive=True)
index 233ee54a2124680991114d2d072400a76ca04b85..c98c11d86b186ba2f1545048516aef57f714a871 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -4,8 +4,8 @@ readme = open('README.rst').read()
 
 setup(
     name='django-quiz-app',
-    version='0.4.0',
-    packages=['quiz', 'multichoice', 'true_false'],
+    version='0.5.0',
+    packages=['quiz', 'multichoice', 'true_false', 'essay'],
     include_package_data=True,
     license='MIT License',
     description='A configurable quiz app for Django.',