Skip to main content

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

https://img.shields.io/travis/cubope/django-boilerplate/master.svg https://img.shields.io/coveralls/cubope/django-boilerplate/master.svg

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

  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 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.

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

License

You can use this under Apache 2.0. See LICENSE file for details.

Author

Developed and maintained by Cubo.

Original author & Development lead: Irving Kcam.

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.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

Metadata

Release files for django-boilerplate 0.9.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-boilerplate 0.9.4
File Size Uploaded
django-boilerplate-0.9.4.tar.gz 26.1 kB Details

Release files / django-boilerplate-0.9.4.tar.gz

Download URL django-boilerplate-0.9.4.tar.gz
Size 26.1 kB
Tags Source
SHA-256 checksum
How to use checksums
396c676f6881deddcbcfab777d073ab3b885ff7cc01cdbd930e27aa917d20c4c
BLAKE2b-256 checksum
How to use checksums
ff3d9342ff1a32ccc9adf3ea2b531162ee215c898e9556ed4d1333485a1e656a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.9.4 This release

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.7.9

1 release file

0.7.8

1 release file

0.7.7

1 release file

0.7.6

1 release file

0.7.5

1 release file

0.7.0

1 release file

0.6.9

1 release file

0.6.8

1 release file

0.6.7

1 release file

0.6.6

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.9

1 release file

0.5.8

1 release file

0.5.6

1 release file

0.5.5

1 release file

0.5.4

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.9

1 release file

0.4.8

1 release file

0.3.8

1 release file

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.0

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page