Giter Site home page Giter Site logo

eldest-daughter / ed-questionnaire Goto Github PK

View Code? Open in Web Editor NEW
57.0 57.0 49.0 448 KB

*This project is no longer being actively maintained. I will merge non-conflicting PRs, but otherwise consider this project sunset.* ED Questionnaire is a Django questionnaire app which is easily customizable and includes advanced dependency support using boolean expressions. It allows an administrator to create and edit questionnaires in the Django admin interface, with support for multiple languages.

License: BSD 3-Clause "New" or "Revised" License

Python 80.88% HTML 10.65% JavaScript 3.96% CSS 4.51%

ed-questionnaire's People

Contributors

adamghill avatar attuch avatar bastiao avatar bugman80 avatar carsolcas avatar cgl avatar empty avatar eugena avatar gabivoicu avatar gcaprio avatar henning avatar href avatar juliomenendez avatar kyle-falconer avatar pathway avatar pegpe avatar piotr-szachewicz avatar rmt avatar suvit avatar wardi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ed-questionnaire's Issues

shownif isn't showing if

I have shownif questions, which aren't supposed to be required but are also only supposed to show in certain circumstances. Instead, it doesn't show when it should and only shows after generating an error saying that it's required.

How to demo it would be nice

Hi, just used half an hour trying to get the example to run, I think it's gone stale with newer versions of Django etc. Instructions about how to install it in a virtualenv, a requirements file, how to sync the database with transmeta would be super nice!

date question type

I posted this over on the seantis repository but got a "maintenance only" response from the maintainer. Figured I toss the question out here and see if anyone is willing/able to help.

I have a need for a date question type. Is this something the current maintainer or a nice 'code angel' would be willing to add? I would like to have the user enter a date and be able to perform a couple of calculation based on this. Thanks!

Invalid attribute, translate

Hi, this is probably a newbie question but i was trying to implement your project and i can't get past this error:

C:\Users\user\Desktop\New project\mysite>python manage.py makemigrations
Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\core\management\__init__.py", line 364, in execute_from_command_li
ne
    utility.execute()
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\core\management\__init__.py", line 338, in execute
    django.setup()
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\apps\registry.py", line 108, in populate
    app_config.import_models()
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\apps\config.py", line 202, in import_models
    self.models_module = import_module(models_module_name)
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\importl
ib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\ed_questionnaire-2.0.1-py3.6.egg\questionnaire\models.py", line 93, in <m
odule>
    class QuestionSet(models.Model):
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\db\models\base.py", line 124, in __new__
    new_class.add_to_class('_meta', Options(meta, app_label))
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\db\models\base.py", line 325, in add_to_class
    value.contribute_to_class(cls, name)
  File "C:\Users\user\AppData\Local\Programs\Python\Python36-32\lib\site-pa
ckages\django\db\models\options.py", line 206, in contribute_to_class
    raise TypeError("'class Meta' got invalid attribute(s): %s" % ','.join(meta_
attrs.keys()))
TypeError: 'class Meta' got invalid attribute(s): translate

I did a little research on Meta but since i haven't used it so far i can't point out the problem, maybe you could help me.

Thank you!

pip install unicodecsv throwing errors

I'm getting the following error when running pip install unicodecsv, any ideas?

Collecting unicodecsv /Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Could not fetch URL https://pypi.python.org/simple/unicodecsv/: There was a problem confirming the ssl certificate: [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version - skipping Could not find a version that satisfies the requirement unicodecsv (from versions: ) No matching distribution found for unicodecsv /Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning

requiredif isn't requiring if

The first page of my survey has a dropdown choice question on which two other questions make use of "requiredif". They pop up as expected, but they themselves do not force any selection. No errors are raised when I try advancing to the next page.

Error in setup

When I run this python setup.py install

I'm getting the following errors, any ideas how to fix this?

Download error on https://pypi.python.org/simple/versiontools/: [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version -- Some packages may not be found! Couldn't find index page for 'versiontools' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version -- Some packages may not be found! No local packages or working download links found for versiontools>=1.6 Traceback (most recent call last): File "setup.py", line 40, in <module> 'versiontools >= 1.6', File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/setuptools/dist.py", line 315, in __init__ self.fetch_build_eggs(attrs['setup_requires']) File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs replace_conflicting=True, File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 850, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1122, in best_match return self.obtain(req, installer) File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1134, in obtain return installer(requirement) File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/setuptools/dist.py", line 429, in fetch_build_egg return cmd.easy_install(req) File "/Users/ot_/Dropbox/_ON/ccrsweb/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 659, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('versiontools>=1.6') (ccrsweb)

atomic transaction

TransactionManagementError at /q/3b29810cb6f1d567b9f1ea2a2c316d81/1/
This is forbidden when an 'atomic' block is active.

Django 1.6.11, Python 2.7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.