First created an application and then
in the settings.py set the constant AUTH_USER_MODEL = "my_app_name.User"
and do makemigrations then migrate for the very first time. your custom
User table does not exist in the database that's why the exception is
thrown.
On Sun, 11 Jun 2023, 19:00 Alexandru
Hello Bradie,
Is not work.
I delete all db and migrate but is not working..
În dum., 11 iun. 2023 la 22:54, Bradie Poa a scris:
> This is mostly cause be mismatch of migrations. In the migrations folder.
> If deleting the db fails to work for you. You need to delete or migrations
> folders and
This is mostly cause be mismatch of migrations. In the migrations folder.
If deleting the db fails to work for you. You need to delete or migrations
folders and then re-do the process of makemigrations and migrate. This will
play you the magic
On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma wrote:
Delete the delete the database, makemigrations and then migrate.
On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma wrote:
> Hi,
> This seems a bit unexpected behaviour,could you tell us all the steps
> you followed from the beginning and at what step is it giving error?
>
> On Mon, Jun 12, 2023,
Hi,
This seems a bit unexpected behaviour,could you tell us all the steps you
followed from the beginning and at what step is it giving error?
On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu <
ionicescu.alexandrugabr...@gmail.com> wrote:
> hello, I have a project and I use django.
hello, I have a project and I use django.
I'm trying to do my migrations for bd but I can't do them. it gives me the
error django.db.utils.OperationalError: no such table: user_user.
I also made a User class (AbstractUser) and it still doesn't work. What can
I do?
I mention that in settings.py I
6 matches
Mail list logo