Skip to main content

django-dev

https://github.com/idlesign/django-dev

https://img.shields.io/pypi/v/django-dev.svg https://img.shields.io/pypi/dm/django-dev.svg https://img.shields.io/pypi/l/django-dev.svg

Description

Tools to facilitate application development for Django

Console utility for those who have more than one Django reusable application to maintain.

It allows certain actions to be done in batch mode over all you apps.

Supported commands:

  • bootstrap

  • add_migrations

  • make_trans

  • list_apps

  • list_venvs

  • install_package

Requirements

  1. Python 2.7+, 3.2+

  2. Python virtualenv package (or just Python 3.3+).

How to start

  1. Make a new directory, where you want your workspace to be, and step into it;

  2. Run > django-dev bootstrap to create basic directory structure;

  3. Symlink your apps into apps directory (was created by step 2 in your current directory).

    Example:

    ln -s /home/idle/dev/django-sitetree/sitetree /home/idle/dev/dj_workspace/apps/sitetree

    Notice, that symlinked is a directory containing models.py (not setup.py).

Making both South and Django 1.7+ migrations

Use add_migrations command.

  • Relocate old South migrations into south_migrations and create new migrations in migrations:

    > django-dev add_migrations --relocate_south

  • Create/update migrations both for South and Django 1.7:

    > django-dev add_migrations

  • Create/update migrations for certain apps:

    > django-dev add_migrations --apps sitecats siteflags

Updating translation files

Use make_trans command.

  • Update existing .mo and .po files for every locale available in app:

    > django-dev make_trans

  • Update/create .mo and .po files for certain locales:

    > django-dev make_trans ru en

  • Update/create .mo and .po files for certain apps:

    > django-dev make_trans ru --apps sitetree sitegate

Satisfy your app requirements

Use install_package command to install packages into virtual envs to satisfy app requirements.

Exact version numbers could be given as in PIP: somedep==1.5.

Get involved into django-dev

Submit issues. If you spotted something weird in application behavior or want to propose a feature you can do that at https://github.com/idlesign/django-dev/issues

Write code. If you are eager to participate in application development, fork it at https://github.com/idlesign/django-dev, write your code, whether it should be a bugfix or a feature implementation, and make a pull request right from the forked project page.

Spread the word. If you have some tips and tricks or any other words in mind that you think might be of interest for the others — publish it.

Metadata

Release files for django-dev 0.2.1

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-dev 0.2.1
File Size Uploaded
django-dev-0.2.1.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-dev 0.2.1
File Interpreter ABI Platform
django_dev-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 19.3 kB

Release files / django-dev-0.2.1.tar.gz

Download URL django-dev-0.2.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5dbc770ea1524ca61e4bb6e92cce7c0dad0ba79165b2b11af03ed8c3c33f3cca
BLAKE2b-256 checksum
How to use checksums
d269efb35b8e7af54caacfd6d8e7abcc06bf62182260d52b760d753b48bd5172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_dev-0.2.1-py2.py3-none-any.whl

Download URL django_dev-0.2.1-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
37a5a4401c22634f2aec2448cb32f836966c31035508f9dc86af24dac9988bb8
BLAKE2b-256 checksum
How to use checksums
234582d3ee0118f38282fbecabe92e987869677d713c359204a130fff6704234
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

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