django-reset
This is a port of Django’s reset management command that was shipped with Django 1.4.x and earlier. Django 1.5 removed this command.
There might be good reasons not to further maintain it in the Django core, however it was always quite useful during prototyping a new Django based project. Thats why I decided to bring it to Django 1.5 and higher with this app.
Full credits for the code goes to the awesome Django project.
Installation
Install django-reset with pip:
pip install django-reset
Add 'django_reset' to your INSTALLED_APPS setting:
INSTALLED_APPS = ( ... 'django_reset', ... )
Usage
django-admin.py reset <appname appname …>
Executes the equivalent of sqlreset for the given app name(s).
The --noinput option may be provided to suppress all user prompts.
The --database option can be used to specify the alias of the database to reset.
django-admin.py sqlreset <appname appname …>
Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the given app name(s).
The --database option can be used to specify the database for which to print the SQL.
Trivia
For code, bug reports, patches or if you wish to contact me, go to https://github.com/gregmuellegger/django-reset
Changelog
0.2.0
Python 3 support!
0.1.0
Initial release
Metadata
Release files for django-reset 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-reset-0.2.0.tar.gz | 4.9 kB | Without provenance | Details for django-reset-0.2.0.tar.gz |
Release files / django-reset-0.2.0.tar.gz
| Download URL | django-reset-0.2.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df0764ded8edaee236daa2a7a608e677bd61c8935308a740076d09d5c90ac2c5
|
|
BLAKE2b-256 checksum How to use checksums |
c326de385c40d7dda8fea16270c5e4d9db60c7a88dce4a8f4dd99115be2f7a21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-reset 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.