Skip to main content
Help us improve Python packaging – donate today!

What Django is missing

Project Description

======================
Boilerplate for Django
======================

Write Django as usual, and let ``django-boilerplate`` help you with the usually painfull stuff.


.. image:: https://img.shields.io/travis/cubope/django-boilerplate/master.svg
:target: https://travis-ci.org/cubope/django-boilerplate

.. image:: https://img.shields.io/coveralls/cubope/django-boilerplate/master.svg
:target: https://coveralls.io/r/cubope/django-boilerplate?branch=master


Requirements
------------

- Python 2.7, 3.2, 3.3, 3.4, or 3.5
- Django >= 1.8

*The latest version supporting Python 2.6 and Django < 1.8 is the 6.x.x branch.*


Installation
------------
1. Install using pip:

``pip install django-boilerplate``

Alternatively, you can install download or clone this repo and call ``pip install -e .``.

2. Add to INSTALLED_APPS in your ``settings.py``:

``'boilerplate',``

3. In your templates, load the ``boilerplate`` library and use the ``boilerplate`` tags:

This app will soon require Django 1.8+, python 2.7+. 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.

https://github.com/cubope/django-boilerplate/issues


License
-------

You can use this under Apache 2.0. See `LICENSE
<LICENSE>`_ file for details.


Author
------

Developed and maintained by `Cubo <http://cubo.pe/>`_.

Original author & Development lead: `Irving Kcam <https://github.com/ikcam>`_.

Thanks to everybody that has contributed pull requests, ideas, issues, comments and kind words.

Please see AUTHORS.rst for a list of contributors.



History
-------
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 got reasigned ExtraFormsAndFormsetsMixin on the get_context_data
* Convert spaces to tabs

0.0.1 (2016-06-6)
++++++++++++++++++
* project added

Release history Release notifications

History Node

0.8.2

History Node

0.8.1

History Node

0.7.9

History Node

0.7.8

History Node

0.7.7

History Node

0.7.6

History Node

0.7.5

This version
History Node

0.7.0

History Node

0.6.9

History Node

0.6.8

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.9

History Node

0.5.8

History Node

0.5.6

History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.4.9

History Node

0.4.8

History Node

0.3.8

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.0

History Node

0.2.8

History Node

0.2.7

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.1

History Node

0.2.0

History Node

0.1.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-boilerplate-0.7.0.tar.gz (22.9 kB) Copy SHA256 hash SHA256 Source None Aug 5, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page