Turn VISIT-ON-SITE button to open in the new window on Django's admin site.
Project description
django-visit-on-site-in-new-window
Turn VISIT-ON-SITE button to open in the new window on Django's admin site.
Install
pip install django-visit-on-site-in-new-window
Usage
pro/settings.py
INSTALLED_APPS = [
...
'django_static_jquery3',
'django_visit_on_site_in_new_window',
...
]
app/admin.py
from django.contrib import admin
from django_visit_on_site_in_new_window.admin import DjangoVisitOnSiteInNewWindowAdmin
from .models import Book
class BookAdmin(DjangoVisitOnSiteInNewWindowAdmin, admin.ModelAdmin):
list_display = ["name", "author"]
admin.site.register(Book, BookAdmin)
Releases
v0.1.0 2020/03/10
- First release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-visit-on-site-in-new-window-0.1.0.tar.gz
.
File metadata
- Download URL: django-visit-on-site-in-new-window-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7118b236a19f95b16d4c125bdfee0939949315e44c3f3782a78f3cb78fa2405f |
|
MD5 | 4213141298ed19c424033c1716e41d2c |
|
BLAKE2b-256 | 8fe1ef26310ee325f52b7e73c033b02768eb3fc5ee599f1c4b7db425f41b0888 |