Skip to content

Best practise for integrating django-hijack #259

Closed Answered by dbartenstein
dbartenstein asked this question in Q&A
Discussion options

You must be logged in to vote

I might have found a viable solution by putting hijack_notification into the page_content block:

{% extends "admin/base.html" %}
{% load static hijack_tags %}

{% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{% static 'hijack/hijack-styles.css' %}" />
{% endblock %}

{% block page_content %}
{% hijack_notification %}
{{ block.super }}
{% endblock %}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@farridav
Comment options

@dbartenstein
Comment options

Answer selected by dbartenstein
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants