Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorial Chapter 10 "Bug" #133

Closed
sray opened this issue Oct 7, 2014 · 4 comments
Closed

Tutorial Chapter 10 "Bug" #133

sray opened this issue Oct 7, 2014 · 4 comments

Comments

@sray
Copy link

sray commented Oct 7, 2014

In my environment there is no initial user created, when arriving at this passage in the tutorial (section 10 Django ORM (Querysets)):

What users do we have in our database? Try this:

>>> User.objects.all()
[<User: ola>]

I simply ran the following, to get a dummyuser to use:

>>> User.objects.create(username='myuser')

What about adding this command to the tutorial section?

@bmispelon
Copy link
Contributor

Hi,

I believe we've fixed this exact problem this week: see #132.
Is it possible you're still reading an older version of the tutorial?

Thanks for the feedback!

@sray
Copy link
Author

sray commented Oct 7, 2014

Hmm, no, accessed tutorial.djangogirls.org just a couple of minutes ago ;-) maybe it is not deployed yet?

@bmispelon
Copy link
Contributor

I think gitbook is being weird again :(

When I go to http://tutorial.djangogirls.org/django_orm/README.html, I see this:

What users do we have in our database? Try this:

>>> User.objects.all()
[]

No users! lets create a user:

>>> User.objects.create(username='ola')
<User: ola>

Try refreshing the page (ctrl-R) or maybe doing a "hard-refresh" (I think it's ctrl-shift-R) and see if the text changes.

@sray
Copy link
Author

sray commented Oct 7, 2014

alright, works now, with a hard refresh ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants