diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2019-03-14 20:21:27 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2019-03-14 20:21:27 +0000 |
commit | a1fd09a28058163a8f4c0ff2795382d4081b819a (patch) | |
tree | f0cb0699267243d36c4dcbb4ed37fff2e6488a26 /www/py-django-common-helpers/pkg-descr | |
parent | a9c2dcba6947e3bde92e1ced154313d5518b7bde (diff) | |
download | ports-a1fd09a28058163a8f4c0ff2795382d4081b819a.tar.gz ports-a1fd09a28058163a8f4c0ff2795382d4081b819a.zip |
New port: www/py-django-common-helpers
py-django-common-helpers consists of the following things:
- Middleware that makes sure a web-app runs either on or without "www" in the
domain.
- "SessionManagerBase" base class, that helps in keeping session related code
object-oriented and clean.
- "EmailBackend" for authenticating users based on their email, apart from
username.
- Custom db fields that can be used in models including a "UniqueHashField"
and "RandomHashField".
- Bunch of helpful functions in helper.py
- "render_form_field" template tag that makes rendering form fields easy
and DRY.
- Couple of dry response classes: "JsonResponse" and "XMLResponse" in the
django_common.http that can be used in views that give json/xml responses.
WWW: https://github.com/tivix/django-common/
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19544
Notes
Notes:
svn path=/head/; revision=495732
Diffstat (limited to 'www/py-django-common-helpers/pkg-descr')
-rw-r--r-- | www/py-django-common-helpers/pkg-descr | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/py-django-common-helpers/pkg-descr b/www/py-django-common-helpers/pkg-descr new file mode 100644 index 000000000000..f177184f0d9f --- /dev/null +++ b/www/py-django-common-helpers/pkg-descr @@ -0,0 +1,23 @@ +py-django-common-helpers consists of the following things: + +- Middleware that makes sure a web-app runs either on or without "www" in the + domain. + +- "SessionManagerBase" base class, that helps in keeping session related code + object-oriented and clean. + +- "EmailBackend" for authenticating users based on their email, apart from + username. + +- Custom db fields that can be used in models including a "UniqueHashField" + and "RandomHashField". + +- Bunch of helpful functions in helper.py + +- "render_form_field" template tag that makes rendering form fields easy + and DRY. + +- Couple of dry response classes: "JsonResponse" and "XMLResponse" in the + django_common.http that can be used in views that give json/xml responses. + +WWW: https://github.com/tivix/django-common/ |