Re: When deleting field in models admin form not updating.

2018-03-30 Thread Andrew Korir
have you tried to run migrations on that particular app in your django project python manage.py makemigrations app_name python manage.py migrate app_name On Fri, Mar 30, 2018 at 4:27 PM, Gerald Brown wrote: > I am using Django 2.0.3 and Python 3.6. When I delete a field in the > model file it

I am trying to create a django project with a custom model that has two diffrent user profiles.it seems to have set a default profile i want to be able to choose one profile from a user

2018-03-28 Thread Andrew Korir
from django.db import models from django.contrib.auth.models import AbstractUser,UserManager from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. class CustomUserManager(UserManager): pass class CustomUser(AbstractUser): pass class LecP