August 2016
Beginner to intermediate
717 pages
15h 24m
English
Django documentation has a tutorial about how to package your reusable apps so that they can be installed later with pip in any virtual environment:
https://docs.djangoproject.com/en/1.8/intro/reusable-apps/
However, there is an even better way to package and release a reusable Django app using the Cookiecutter tool, which creates templates for different coding projects such as new Django CMS website, Flask website, or jQuery plugin. One of the available project templates is cookiecutter-djangopackage. In this recipe, you will learn how to use it to distribute the reusable likes app.
Install Cookiecutter in your virtual environment:
(myproject_env)$ pip install cookiecutter
To release
Read now
Unlock full access