django-qwert 0.2.2

A trivia collection framework for Django

django-qwert is a trivia snippet collection of Django which used in Kawaz

Install

pip install django-qwert

Features

  1. Http403 exception

    Like Http404 exception. You can raise Http403 exception and HttpResponseForbidden will be responsed

  2. User based exception

    Super user can see Django technical exception page even when DEBUG=False

  3. Global request

    Developpers can access request instance duaring request process with thread local mechanisms

  4. with_request decorator

    To enable handling request instance in form, convert form class and classbased generic view class. It is useful to determine the author of the object in method of form.

  5. Useful templatetags and some extra builtin templatetags

    • expr (extra builtin)

      calculate python expression in template

    • evaluate

      evaluate django template in string

    • truncateletters (extra builtin)

      like truncatewords, this truncate letters. Useful to use the language which does not have space for delimiter (like Japanese, Chinese ...etc)

    • markdown

      enhanced markdown filter which can care about the markdown extensions. markdown is required to use this templatetag.

    • urlize_html

      urlize filter for HTML string. BeautifulSoup is required to use this templatetag

  6. Enhanced override_settings

    Similar with Django 1.4 override_settings but it will recall syncdb command when new app is appended to INSTALLED_APPS. And with_apps and without_apps decorator/context manager is added.

  7. Automatically test user is created in syncdb command

Settings

AUTO_CREATE_TESTUSER
To disable automatically creating test user in syncdb command, set False to this setting. Default: True
TESTUSER_USERNAME
An username of test user. Default: 'admin'
TESTUSER_EMAIL
An email address of test user. Default: "%s@test.com" % TESTUSER_USERNAME
TESTUSER_PASSWORD
A password of test user. Default: 'password'
ENABLE_EXTRA_BUILTINS
To disable adding extra templatetags to buitlin, set False.
MIT

Author

Alisue

Pip

django-qwert==0.2.2

Classifiers

  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Programming Language :: Python
  • Development Status :: 3 - Alpha
  • Topic :: Internet :: WWW/HTTP
File Type Python Version Uploaded On Downloads
django-qwert-0.2.2.tar.gz Source March 14, 2012 2,514
Version Release Date
0.2.2 March 14, 2012
0.2.1 March 14, 2012
0.2.0 March 14, 2012
0.1.5 Feb. 28, 2012
0.1rc4 Jan. 12, 2012
0.1rc3 Dec. 14, 2011
0.1rc2 June 11, 2011
0.1rc1 Aug. 26, 2015
Date Package Version Action
Aug. 26, 2015, 12:22 a.m. django-qwert 0.1.5 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.1rc4 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.1rc3 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.1rc2 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.1rc1 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.2.0 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.2.1 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert 0.2.2 Release Created
Aug. 26, 2015, 12:22 a.m. django-qwert Package Created