Skip to main content

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.

v0.1.1 2023/09/15

  • Doc update.

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

Built Distribution

File details

Details for the file django-visit-on-site-in-new-window-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-visit-on-site-in-new-window-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bd810d6ef5eb42f797df20a49198a5e19fea82ca3b41d96f6357451585365688
MD5 2941781e90cc7258bcf387f85736735d
BLAKE2b-256 5157e26535d47e9f7363290268769578a228ee501e975d83f0429b2e7051fbe9

See more details on using hashes here.

File details

Details for the file django_visit_on_site_in_new_window-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_visit_on_site_in_new_window-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65c11b95522d67d2b8d316787e63f19a92322e5159e2ae2625261d8bf423b288
MD5 faaa019e5978201954c85d4aee82025b
BLAKE2b-256 579e3a44b37469ba4a303c97da337aa52a4db8c5e3990de26d3911f32d203880

See more details on using hashes here.

Supported by

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