This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from django.db.models import Model | |
from django.contrib.contenttypes.fields import GenericForeignKey | |
from django.db.utils import IntegrityError | |
from django.db import transaction | |
from urllib import parse | |
try: | |
from django.apps import apps |