What Django is missing
Project description
Write Django as usual, and let django-boilerplate help you with the usually painfull stuff.
Requirements
Python 2.7 or greater
Django >= 1.11
The latest version supporting Python 2.6 and Django < 1.8 is the 6.x.x branch.
Installation
Install using pip:
pip install django-boilerplate
Alternatively, you can install download or clone this repo and call pip install -e ..
Add to INSTALLED_APPS in your settings.py:
'boilerplate',
In your templates, load the boilerplate library and use the boilerplate tags:
This app will soon require Django 2.x, python 3. Thanks for understanding.
Bugs and suggestions
If you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.
License
You can use this under Apache 2.0. See LICENSE file for details.
History
0.9.4 (2019-11-19)
Fix: Getting the name of a formset without model.
0.9.2 (2019-06-11)
Enhace: Allow redirect to the next parameter
0.9.1 (2019-05-29)
Enhace: Add deletion variables
0.8.3 (2018-08-1)
Add: Django 2.1 support
0.8.2 (2017-12-4)
Add: Django 2.0 support
0.8.1 (2017-11-21)
Add: _addanother or _continue
Fix: Allow redirection
Fix: Python 2.7 compatibility
0.7.5 (2017-11-06)
Add: Append custom headers
0.7.0 (2017-08-05)
Change: Search buttons by parent app name
0.6.9 (2017-07-31)
Add: Set current user if field is available
Add: Set email language
Bug: Display transaction error
0.6.5 (2017-07-26)
Fix: Attachment sending
0.6.0 (2017-06-29)
Better: Error handling
0.5.8 (2017-06-19)
Add: Send email without template, only with content
0.5.6 (2017-04-25)
Fix: Django 1.11 compatibility
0.5.4 (2017-03-31)
Add: ModelImageThumbs Python 3 support.
Add: six requirements.txt
0.5.0 (2017-03-28)
Add: ExtraFormsAndFormsetsMixin trasactions are atomic now, if something fails nothings gets saved.
0.4.9 (2017-03-27)
Fix: ExtraFormsAndFormsetsMixin parent response prevail.
0.4.8 (2017-03-27)
Rename: permissions.py to signals.py
Add: Documentation add_view_permissions
Add: More tests
0.4.5 (2017-03-25)
Remove: templates folder, forms.py and views.py no longer required, no longer required, Django cover this.
Add: Initial tests
Update: PEP8
Bug: add_view_permissions Python3 compatibility
Add: Allow email testing
Enhancement: Rename variables formsets to formset_list and extra_forms to extra_form_list
0.3.6 (2016-11-26)
Fix: LoginForm username and password required fields
0.3.6 (2016-11-9)
Fix: If doesn’t found model name get form name
0.3.5 (2016-09-30)
Fix: Raise PermissionDenied on NoLoginRequiredMixin
0.3.4 (2016-09-30)
Fix: ModelImageThumb super class
0.3.3 (2016-08-30)
Bug: Fix minor bugs
0.3.2 (2016-08-30)
Add: Parent model mixins
0.3.0 (2016-08-29)
Change: Improove mail, now it’s a class not a function
0.2.8 (2016-08-19)
Add: New model child action template tag
0.2.7 (2016-07-21)
Fix: Mixin CreateModelMixin
Improvement: No loger convert template tags to titles
0.2.5 (2016-06-26)
Fix: PIL as new requirement
Fix: Requirements
Fix: Python3 compatibility
0.2.3 (2016-06-26)
Added: add_view_permissions: Create a post migrate signal to add a new view permission to all the model
Added: ModelImageThumbs, and automatically create thumbnails from the images that you upload.
0.2.1 (2016-06-20)
Fix: Forgot to import translation at views.py.
0.2.0 (2016-06-18)
Rename: views.py to mixins.py because is the propper name
Add: boilerplate.py with the default settings, you can customize your error messages.
Add: forms.py Forms with validation to the following Views:
Add: views.py: LoginView
Add: views.py: RecoverAccountView
Add: views.py: RegistrationView
Add: views.py: LoginView
0.1.3 (2016-06-16)
Fix: CRUD Messages Mixin conflict with Extra Forms and Formsets Mixin
Fix: ExtraFormsandFormsetsMixin validate if formset_list or extra_form_list exists
Fix: App template tags, didn’t got the model information intead of the app information
0.1.0 (2016-06-12)
Fix: CRUD Messages Mixin
Bug: Variables reasigned ExtraFormsAndFormsetsMixin on the get_context_data
Convert spaces to tabs
0.0.1 (2016-06-6)
project added
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-boilerplate-0.9.4.tar.gz
.
File metadata
- Download URL: django-boilerplate-0.9.4.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396c676f6881deddcbcfab777d073ab3b885ff7cc01cdbd930e27aa917d20c4c |
|
MD5 | a8e0bd9085ed834df7f1ac9632f08143 |
|
BLAKE2b-256 | ff3d9342ff1a32ccc9adf3ea2b531162ee215c898e9556ed4d1333485a1e656a |