Skip to content

Instantly share code, notes, and snippets.

Avatar

Emin Buğra Saral ebsaral

View GitHub Profile
@titusz
titusz / suit_multi_admin.py
Last active Feb 12, 2016
Monkeypatch for Django Suit to support separate SUIT_CONFIGs for multiple Admin Sites
View suit_multi_admin.py
def suit_multi_admin():
"""Monkeypatch Django Suit to support multiple Admin Sites
Usage:
put this code for example in myapp/monkey.py
Activate the monkeypatch in your models.py:
from monkey import suit_multi_admin
@davidwkeith
davidwkeith / index.html
Last active May 18, 2021
NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom protocol handlers. Licensed under the WFTPL http://www.wtfpl.net/txt/copying/
View index.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>App Redirection</title>
</head>
<body>
<!--
NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom
protocol handlers.