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.5.0a3.tar.gz (26.0 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.5.0a3-py3-none-any.whl (47.8 kB view details)

Uploaded Python 3

File details

Details for the file django-torque-0.5.0a3.tar.gz.

File metadata

  • Download URL: django-torque-0.5.0a3.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for django-torque-0.5.0a3.tar.gz
Algorithm Hash digest
SHA256 f4ae7a4a4b98fc5d711a7cd0405fc7470884b42a4a53d93bfa10b6b61aefa459
MD5 8c6fc3cee9bf15cee1c366b5a6356c93
BLAKE2b-256 a5a1eeca81d5cffc9ed62b1051b7d3e4c91b612e0db7d99161c313ac3349a25c

See more details on using hashes here.

File details

Details for the file django_torque-0.5.0a3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_torque-0.5.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 19d6002a057f95c4353d0b0728b09c9f9742ad73245d6b87efcabb6d56a15739
MD5 639a884a1b48909e164075e90d7a3b14
BLAKE2b-256 5583048276e222cf1032bc8d05b9ac3ea1452297c456d018ea20cfebe5082652

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