Inspiration

Major League Hacking is my inspiration.

What it does

It creates an authorization system for django.

How we built it

I built using this code.


from django.contrib.auth.models import User

user = User.objects.create_user('yousuf', 'yousuf@yousuf.com', 'yousufpassword')

user.last_name = 'khan'

user.save()

python manage.py createsuperuser - -username = yousuf - -email = yousuf@ example.com

user = authenticate(username='john', password='secret')

if user is not None: #Stop

else:

# Nothing

Challenges we ran into

It was a fun challenge.

Accomplishments that we're proud of

I am proud of taking this challenge.

What we learned

I learned creating an authentication system.

What's next for Create an Authorization System

I will build more advanced authorization system.

Built With

Share this project:

Updates