Commit ec1c3f4f authored by Stefan Bunde's avatar Stefan Bunde
Browse files

TG-258 TG-283 rename app from users to castellum_auth

parent e3428d1d
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from . import models
from .models import User
admin.site.register(models.User, UserAdmin)
admin.site.register(User, UserAdmin)
from django.apps import AppConfig
class UsersConfig(AppConfig):
name = 'users'
class CastellumAuthConfig(AppConfig):
name = 'castellum_auth'
# Generated by Django 2.0.4 on 2018-04-09 15:00
# Generated by Django 2.0.4 on 2018-04-11 11:36
import django.contrib.auth.models
import django.contrib.auth.validators
......@@ -34,8 +34,8 @@ class Migration(migrations.Migration):
],
options={
'abstract': False,
'verbose_name': 'user',
'verbose_name_plural': 'users',
'verbose_name': 'user',
},
managers=[
('objects', django.contrib.auth.models.UserManager()),
......
......@@ -19,7 +19,8 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'users.apps.UsersConfig',
'castellum_auth.apps.CastellumAuthConfig',
]
MIDDLEWARE = [
......@@ -80,7 +81,7 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
AUTH_USER_MODEL = 'users.User'
AUTH_USER_MODEL = 'castellum_auth.User'
# Internationalization
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment