Skip to content

Instantly share code, notes, and snippets.

@amccloud
Created December 15, 2012 04:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amccloud/4291351 to your computer and use it in GitHub Desktop.
Save amccloud/4291351 to your computer and use it in GitHub Desktop.
from django.contrib.gis.db import models
from django.contrib.auth.models import UserManager, AbstractUser
class UserManager(UserManager, models.GeoManager):
pass
class User(AbstractUser):
objects = UserManager()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment