:arrow_right_hook: :white_check_mark: redirects as they should be, with full control.
django-redirects fills the gap of django.contrib.redirects
offering redirects with full control.
301
, 302
, 303
, 307
, 308
.EXACT
, PREFIX
or REGEX
.$1
, $2
, $3
, ...pip install django-redirects
.redirects
to settings.INSTALLED_APPS
.redirects.middleware.RedirectMiddleware
to settings.MIDDLEWARE
before other middlewares.python manage.py migrate
.# clone repository
git clone https://github.com/fabiocaccamo/django-redirects.git && cd django-redirects
# create virtualenv and activate it
python -m venv venv && . venv/bin/activate
# upgrade pip
python -m pip install --upgrade pip
# install requirements
pip install -r requirements.txt -r requirements-test.txt
# install pre-commit to run formatters and linters
pre-commit install --install-hooks
# run tests
tox
# or
python runtests.py
# or
python -m django test --settings "tests.settings"
Released under MIT License.
django-admin-interface
- the default admin interface made customizable by the admin itself. popup windows replaced by modals. ๐ง โก
django-colorfield
- simple color field for models with a nice color-picker in the admin. ๐จ
django-extra-settings
- config and manage typed extra settings using just the django admin. โ๏ธ
django-maintenance-mode
- shows a 503 error page when maintenance-mode is on. ๐ง ๐ ๏ธ
django-treenode
- probably the best abstract model / admin for your tree based stuff. ๐ณ
python-benedict
- dict subclass with keylist/keypath support, I/O shortcuts (base64, csv, json, pickle, plist, query-string, toml, xml, yaml) and many utilities. ๐
python-codicefiscale
- encode/decode Italian fiscal codes - codifica/decodifica del Codice Fiscale. ๐ฎ๐น ๐ณ
python-fontbro
- friendly font operations. ๐งข
python-fsutil
- file-system utilities for lazy devs. ๐งโโ๏ธ