You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from django.conf.urls import url
from django.conf.urls import url, include
Models and Forms
import django.db.models as m
from django.db.models import F
from django.db.models import Q
from django.core.exceptions import ObjectDoesNotExist
from django.db.models import Manager
from django.db.models import Count
from django.db.models import Sum
from django.db.models import Avg
from django.db.models import Min
from django.db.models import Max
from django.db import transaction
Views
from django.http import HttpResponse
from django.http import HttpResponseRedirect
from django.http import JsonResponse
from django.shortcuts import render
from django.shortcuts import redirect
from django.shortcuts import get_object_or_404
from django.shortcuts import get_list_or_404
from django.template import RequestContext, loader
from django.http import Http404
from django.core.urlresolvers import reverse
from django.views import generic
from django.views.generic import View
from django.views.generic import TemplateView
from django.views.generic import RedirectView
from django.utils.decorators import method_decorator
from django.views.decorators.http import require_http_methods
from django.views.decorators.http import require_safe
from django.views.decorators.http import require_GET
from django.views.decorators.http import require_POST
from django.core.exceptions import PermissionDenied
Forms
import django.forms as f
Authentication & Authorization
from django.contrib.auth.models import User
from django.contrib.auth import authenticate
from django.contrib.auth import authenticate, login
from django.contrib.contenttypes.models import ContentType
from django.contrib.auth.models import Permission
from django.contrib.auth.models import Group
from django.contrib.auth import get_user_model
from django.contrib.auth.decorators import login_required
from django.contrib.auth.decorators import user_passes_test
from django.contrib.auth.models import AbstractBaseUser
from django.contrib.auth.models import BaseUserManager
from django.contrib.auth.models import PermissionsMixin
Administration
from django.contrib import admin
Testing
from django.test import TestCase
from django.test.utils import setup_test_environment
from django.test import Client