ensure authentication in django urls user model code example Example: django import user from django.contrib.auth.models import User