Commit Graph

74 Commits (0cc9db8aa724084e90f1a49f042b0c4e6d563844)

Author SHA1 Message Date
eric 7ea4019f27 update to django 2.0 2020-09-17 16:42:49 -04:00
eric cb6de53bfc make questionset a py3 iterator 2020-03-05 23:40:22 -05:00
eric 751e822fcf add defaults to models 2020-02-14 13:23:32 -05:00
eric 8978d43fd1 use py3 metaclass syntax 2020-02-12 22:39:27 -05:00
eric 4d0e864ee6 fix unicode replacement 2020-02-12 22:38:45 -05:00
eric 706a21abe6 change unicode for py3 2020-02-12 14:12:14 -05:00
eric 425f427a85 deprecated from django.core.urlresolvers 2018-07-24 11:25:07 -04:00
eric 6538c3ef8a more 2018-07-24 09:34:17 -04:00
eric b8ac5a1a9f add on_delete
silence 2.0 deprecation warnings
2018-07-24 09:13:10 -04:00
eric 9454be4d91 add other item code to app
* refactor views
* add example fixtures
* consistent terminology for questionnaires
2017-06-19 22:20:46 -04:00
eric 406aec970a normalize runid in db, fix bugs 2016-11-03 11:43:08 -04:00
eric 72790b421d general renovations 2016-07-26 17:08:23 -04:00
Jamie Campbell bad5c9d566 changed RunInfoHistory complete to use full datetime instead of just date 2016-02-15 23:08:46 -06:00
Jamie Campbell 5ae7ce8c13 added ability to lock out external survey answering people but still allow logged in users to use the same interface to transcribe paper surveys 2016-02-08 21:30:18 -06:00
Mark Jenkins 2615e4e1dd added indexes to support objects.filter and .order searches 2016-01-19 07:06:42 -06:00
Mark Jenkins c7add25900 add an index for value field in choice table 2016-01-19 06:28:15 -06:00
Jamie Campbell 81595b2e04 Merge branch 'master' of file:///home/jamiework/work/GAWork/ed-questionnaire
Conflicts:
	questionnaire/admin.py
	questionnaire/views.py
2016-01-13 03:50:32 -06:00
Jamie Campbell ca5a4c0bb6 temporary workaround enabling global style specifications 2015-12-21 12:14:18 -06:00
Jamie Campbell 5ea374d060 work towards more granular style control 2015-12-21 11:43:02 -06:00
Jamie Campbell c618a30b44 db model for dynamic stylesheet support 2015-12-14 01:46:32 -06:00
Jamie Campbell eac8ab5bd5 work towards database drive stylesheet configurability 2015-12-14 01:26:02 -06:00
Jamie Campbell 49aa449a83 changed question sorting from strictly alphabetic from tuple-based sort on sort_id then number 2015-12-08 00:45:24 -06:00
Jamie Campbell cfb2209b5b added support for questionnaire name to render as html via html field 2015-12-07 19:00:30 -06:00
Jamie Campbell b134e26b3a added support to question and questionset for rendering content as html instead of the default which just shows html tags as part of the content 2015-12-01 20:46:28 -06:00
Jamie Campbell 4cc490adba extended the framework to actually sort questions the way it claims to sort questions 2015-12-01 15:51:35 -06:00
Jamie Campbell a7088c2586 additional option for 'samechoicesas' 2015-11-29 02:46:08 -06:00
Griffin Caprio 3068791744 Adding sort id to question display within questionset 2015-03-10 17:47:13 -05:00
Griffin Caprio 81136d8ac3 Adding property to Question to determine if it's a comment 2015-02-27 07:01:39 -06:00
Griffin Caprio 978bae6e97 Increase column size 2015-01-07 17:52:12 -06:00
Daniel Rozenberg 5fef81a1ef Perform natural sort on question number using Python instead of relying on DB implementation specifics 2014-11-03 12:01:26 -08:00
Daniel Rozenberg f3317badaf Perform natural sort on question number. 2014-11-02 14:01:03 -08:00
matteo.cafarotti b7057b299a fixes bug in questions ordering 2014-10-08 12:28:08 +02:00
matteo.cafarotti 396e91c564 fixes broken link 2014-10-07 11:37:31 +02:00
matteo.cafarotti 30b83abb42 simple fix for having QuestionSet model correctly displayed into admin 2014-10-07 11:25:23 +02:00
matteo.cafarotti e8347d3815 fixes for Page model translation into admin, fix for Dj1.6 compatibility 2014-10-04 11:22:47 +02:00
Piotr Szachewicz 340d50dee1 Removed unnecessary print statements in the Answer model. 2014-07-18 17:57:21 +02:00
Piotr Szachewicz fb0e97c03b Made Question#extra field max_length larger (128 -> 512).
Conflicts:
	questionnaire/models.py
2014-07-13 16:30:31 +02:00
Piotr Szachewicz fab1c8b37a It is possible to show all questionniare questions when adding show_all=1 GET parameter.
It is useful for debugging purposes, when you want to see all questions rendered
on one screen.

Conflicts:
	questionnaire/views.py
2014-07-13 16:21:03 +02:00
Piotr Szachewicz a09d5102f2 Added verbose_name to Question text.
Other wise it showed as "None [Languaage]" in Django Admin.
2014-07-13 16:15:43 +02:00
Piotr Szachewicz 9e8605d851 Same as Another Question can be selected using question number of question id.
If you use sameas, you need to use question number within the current questionnaire.
If you use sameasid - the question ID is expected.
2014-07-13 16:12:03 +02:00
Piotr Szachewicz 234167b4a8 Fixed and changed the "Same as Another Question field".
This field didn't work, because there were check parse errors.
Currently, to use this field, you need to put "sameas=question.id"
in the checks field. We used the question id in order to be able
to use this functionality between different questionnaires.
2014-07-13 16:10:57 +02:00
Piotr Szachewicz b96855de90 Tags are added/removed according to the selected CHOICEs.
It is now possible to set tags that need to be enabled if
a user selects some choice from the choice questions.
The tags from the other, non-selected choices are deleted
(in case of somebody changing the previously saved values).
2014-07-13 15:37:39 +02:00
Adam Hill f00f2480f1 Clean up django.utils.simplejson warning. 2013-12-28 22:21:08 -05:00
Çağıl Uluşahin 410410025a Query using id from instance instead using object instance 2013-09-05 12:44:37 +03:00
Matteo Atti a414ca1ec8 fix bad import for Django 1.3 and fixed save() with args in RunInfo models 2012-04-20 14:21:08 +02:00
Denis Krienbühl 41de584223 Adds ability to store floats in the cookiedict 2012-02-03 10:12:50 +01:00
Denis Krienbühl 5c2ddd4bd4 Adds ability to define questions to be skipped on the runinfo 2012-02-02 16:02:35 +01:00
Denis Krienbühl 671a68465e Adds an optional footer text for each question with textile markup 2012-01-31 16:22:00 +01:00
Denis Krienbühl a574ebc2f5 Makes request_cache of questions check more explicit and fixes a small lint warning in the models 2012-01-24 10:39:30 +01:00
Denis Krienbühl 2cda706ac5 Adds current runinfo to the active request object and fixes a bug in dep_check which led to some answers being read from the database even if they were in the checkdict 2012-01-21 16:28:38 +01:00