drfx icon indicating copy to clipboard operation
drfx copied to clipboard

Warning: Your URL pattern '^api-auth/' has a route that contains '(?P<', begins with a '^', or ends with a '$'.

Open bryankimani opened this issue 7 years ago • 1 comments

I am getting the following warning on my end when I run:

python manage.py makemigrations users

See the warning below:

WARNINGS:
?: (2_0.W001) Your URL pattern '^api-auth/' has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().
Migrations for 'users':
  users/migrations/0001_initial.py
    - Create model CustomUser

bryankimani avatar Mar 05 '19 07:03 bryankimani

Ack, it did. Now fixed and updated to 2.2 :)

wsvincent avatar Apr 22 '19 14:04 wsvincent