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

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