FAQ: Admin and Authentication - User Objects

This community-built FAQ covers the “User Objects” exercise from the lesson “Admin and Authentication”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Build Python Web Apps with Django

FAQs on the exercise User Objects

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!
You can also find further discussion and get answers to your questions over in Language Help.

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head to Language Help and Tips and Resources. If you are wanting feedback or inspiration for a project, check out Projects.

Looking for motivation to keep learning? Join our wider discussions in Community

Learn more about how to use this guide.

Found a bug? Report it online, or post in Bug Reporting

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!


I’m stuck in this simple exercise and have no idea what I’m doing wrong. So frustrating.

1 Like

I just can’t undersant what’s missing in my exercise. Can someone help me pls?

I think it’s ok. To go to next exercise just view the solution and overwrite with what they give you :man_shrugging:

In view the solution they only show the code in admin.py, wich they didn’t change. The bash code is not shown.

There is a bug in this exercise. At some point Django implemented a check to see if passwords are similar to the email address, which this one is, so it doesn’t let you set it as the password. You can see this if you try to change the password manually in the Admin UI.

View Solution, Replace, and move on.

2 Likes

Hello! I was having the same problem, I just cheated on the interface, create the user in the admin.py file and run.
and go to the next!

1 Like

What’s the point of talking about the shell so much in the lesson if they expect us to do it in the terminal?

1 Like

This one is frustrating, looks like an exercise bug on @codecademy 's side.

Thanks for posting this. Yeah, trying to stretch the window to get the huge line of code on a single line just wasn’t happening. Your solution worked perfectly!

1 Like

I am also experiencing this issue. The exercise isn’t being checked correctly. You create a user in the shell and not by writing lines in the admin file. When would those lines be executed? They aren’t part of a function that ever gets called :rofl: never mind the fact that the entire exercise says we must work in the shell. Also, the django docs make it clear you create users in the shell via the django API. You can see this being done in this YouTube video. I raised a support ticket and got a response but according to their response they think we are all wrong about this.

So, to proceed, put the commands in the admin file and press run. But know that this isn’t what you should be doing in real life.

My first month using codecademy so I have mixed feelings rn :man_facepalming:

For those wondering - all you have to do is read the instructions. Stretch the editor panel so that your lines don’t break, as pointed out in the hint, and everything will pass