Skip to main content

django app for torque

Project description

The torque app

This is the django app that should be deployed in a running django server.

Outside of installing the app, this should remain a black box. The reason being that none of the routes or uses for this should be accessed except through the Torque MediaWiki plugin.

For developers, look in the individual code files for details on the inner workings.

See INSTALL.md for installation instructions.

Django Commands

torque ships commands

remove_unattached

Whenever loading up a new collection, there may be changes to the form of the data as the collection evolves. Because it may be uploaded in mistake, nothing is deleted from the database to ensure that no unintentional data loss occurs. However, admins may want to remove that data to reflect the upgrades in the data.

remove_unattached removes those items. Each field/document that gets uploaded will be marked as attached. If there are edits associated with a field or document, then the --forced argument is required.

Removing attachment files

As a system runs, old FileField files can hang around on the hard drive. Those are usually uploaded attachments and templates. This can start to take up too much space. To remove, one was is to use https://github.com/akolpakov/django-unused-media:

$ pipenv install django-unused-media

Add 'django_unused_media' to your INSTALLED_APPS and then run:

$ pipenv run python ./manage.py cleanup_unused_media

Project details


Download files

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

Source Distribution

django-torque-0.2.9.post1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_torque-0.2.9.post1-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file django-torque-0.2.9.post1.tar.gz.

File metadata

  • Download URL: django-torque-0.2.9.post1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

File hashes

Hashes for django-torque-0.2.9.post1.tar.gz
Algorithm Hash digest
SHA256 dc464b2e3b377d97bc66e6e3cde81cbd7e9e7c9e663c8aa5ff5825366e6fff74
MD5 ed9e30bbef08939610586857da148f16
BLAKE2b-256 a480fab826b49ec275e1e7ebe31656156d182898030abef73a68c8f9d38190f1

See more details on using hashes here.

File details

Details for the file django_torque-0.2.9.post1-py3-none-any.whl.

File metadata

  • Download URL: django_torque-0.2.9.post1-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2

File hashes

Hashes for django_torque-0.2.9.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0db3e79d16f18888d3e46d112b3d1ea6e2d267543ddfd651d2f715a0c2929ca
MD5 9e58a881d9af48bf4cdd2bc4e91a7f27
BLAKE2b-256 78d3790d0f0ab3b80126ce16003d6843411370a24339547129e2150b3ce49407

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page