Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

180
Views
Fields added to Django's AbstractUser aren't showing up in the migration

I'm creating a custom User model based on AbstractUser:

from django.contrib.auth.models import AbstractUser
from django.db import models


class User(AbstractUser):
    certs_only: models.BooleanField()

When I run manage.py makemigrations, the migrations are created, but the certs_only field isn't there. All other fields from AbstractUser are there, eg password, last_login, etc. I see this migration in 0001_initial.py. This field also doesn't show up in the admin site, since it doesn't actually exist.

I've tried ./manage.py makemigrations common, as some suggested ('common' is my app name), but this made no difference. I've also tried adding fields of different types, but this seems to happen regardless.

What could be causing this?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Did you mean

certs_only = models.BooleanField()
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!