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.

v0.1.2 2025/10/24

  • 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

django_visit_on_site_in_new_window-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file django_visit_on_site_in_new_window-0.1.2.tar.gz.

File metadata

File hashes

Hashes for django_visit_on_site_in_new_window-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ce3d1e23da177f6705d0d551727f760152b34eeb56959a199f1100a5401a9f04
MD5 13104a946be031fba26c89696b55e4db
BLAKE2b-256 f1cb3fc25c2edf5cedf3886b45250906fbe8702f6a70f7ef5c11ad05b96d741d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_visit_on_site_in_new_window-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cd88993a8466b9e4860e5d78c40fcb728197cc8f0053271ef3298923bb45e7e2
MD5 feacc3a45a9ed52243eab3001860934e
BLAKE2b-256 1723198ddb7361d7c1c76fdfeb85e98bb9354750a74b47e4c9ac50c793936830

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