Custom User model writes email in username column and vice-versa (postgresql)

2018-05-04 Thread brzrkr
ogin using their email but still have a username, that doesn't have to be unique (they're differentiated through a discriminator not unlike the one Discord uses, if you know it, like brzrkr#0001 and brzrkr#2342 may exist at the same time and both be known as brzrkr). The problem is, when

Re: I got error when working on "Writing your first Django app, part 5" of tutorial

2018-05-04 Thread brzrkr
It seems you need to point your Django project to your urls.py file. See: https://docs.djangoproject.com/en/2.0/ref/settings/#root-urlconf This should point to your urls.py file, the file containing the `urlpatterns` variable, which is a list of `path()` statements. For example if your urls.py fi