Normally on these long tutorials, the code hits a snag and it's really hard to press on. Your videos are so straightforward and well taught that it doesn't happen. You're great at this. Never stop.
DAAAMMN bro.... at the beginning you said, that this tutorial is gonna be the best. MAN you said the fuckin truth. The way you teach us how everything is wokring is amazing! I have watched a few tutorials from other YTer but you explained the best. Big thumbs up from germany.
How does the editor know where to create the migrations file....you were in the djangonautic directory when you ran the command, yet it created the file within articles/migrations. What if there was another app created with a migrations folder, where would it then have been created. Please advise
You can add the app name (and the most current migration file) after migrate ex: "python manage.py migrate my_app 003_migration_file" The forum post below has more info: stackoverflow.com/questions/32531350/django-1-8-run-a-specific-migration
When I run: python manage.py migrate the next error appear: ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? plz advise.
So to make it super clear, makemigrations creates a migration file but does NOT affect the database and migrate takes the migration file(s) and DOES change the database?
For anyone that has this problem, make sure to save your "models.py" file before calling the "makemigrations" command. I had the problem and as soon as I saved the file, everything worked perfectly.
Hello, Ninja! I have an error while trying runserver or migrate commands return render(request, 'articles/article_list.html'), IndentationError: expected indented block Can you help me with it? Thank you for your lessons.
You might have accidentally added or removed the indentation on that line "return render(request, 'articles/article_list.html')," in the file articles\views.py
Hey I have an error. When I run "python manage.py migrate'' ... I get the following error: (base) C:\Users\mpabl\Desktop\django_ex\djangoex>python manage.py migrate Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: No migrations to apply.
You make, by far, the best tutorials on youtube for net related topics.
Normally on these long tutorials, the code hits a snag and it's really hard to press on. Your videos are so straightforward and well taught that it doesn't happen. You're great at this. Never stop.
Glad you like them, really appreciate your comments :)
You tutorials are the best! I'm a beginner in Django, but all you have explained so far makes so much sense! Great job! Thank you!
DAAAMMN bro.... at the beginning you said, that this tutorial is gonna be the best.
MAN you said the fuckin truth.
The way you teach us how everything is wokring is amazing!
I have watched a few tutorials from other YTer but you explained the best.
Big thumbs up from germany.
Thanks Christian :)
You are the best. The clearest
Thanks Leyla!
Thank you for this tutorial, I like it so far
Is it just me or he makes it looks so easy
Thank You so much kind man, god bless you
How does the editor know where to create the migrations file....you were in the djangonautic directory when you ran the command, yet it created the file within articles/migrations. What if there was another app created with a migrations folder, where would it then have been created. Please advise
You can add the app name (and the most current migration file) after migrate ex: "python manage.py migrate my_app 003_migration_file"
The forum post below has more info:
stackoverflow.com/questions/32531350/django-1-8-run-a-specific-migration
When I run: python manage.py migrate the next error appear: ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? plz advise.
I found solution: djangowaves.com/tips-tricks/fix-import-error-no-module-named-django-core-management/
Hi Shaun. Thanks for the video. Where did you specify database/user/pwd to use? If not done, what does django use by default? Thanks
can I know the theme on your Atom text editor pls, looks clean af?
Nigga you’re the best 🔥🔥 thanks for the informative videos 🙏🏻🙏🏻
great video pal
thanks a lot
Thanks
For some reason when I make a test in Django it always says it can’t find my models in the test_AppName. but my migration is there
So to make it super clear, makemigrations creates a migration file but does NOT affect the database and migrate takes the migration file(s) and DOES change the database?
after typing the command "python manage.py makemigrations" ,
it returned an error message which says " No changes Detected"
For anyone that has this problem, make sure to save your "models.py" file before calling the "makemigrations" command. I had the problem and as soon as I saved the file, everything worked perfectly.
@@rahulmadhugiri thanks bro
what is the use of sqlmigrate?
where are these 13 builtin models are hide for which we need to run the migrations?
your voice is magnificent...
thx
can you tell me. what is it: no changes detected (..python manage.py makemigrations)
how to find 1 settion
To the point tutorial videos. Otherwise, other tutorials are prolonged for nothing and in a few minutes, a person gets irritated and leaves.
Hello, Ninja! I have an error while trying runserver or migrate commands
return render(request, 'articles/article_list.html'),
IndentationError: expected indented block
Can you help me with it?
Thank you for your lessons.
Can you give a snapshot of the code in the views where your return render command is written?
You might have accidentally added or removed the indentation on that line "return render(request, 'articles/article_list.html')," in the file articles\views.py
It's an IndentationError. Always google your error messages
You could've forgotten to add a TAB right before you type 'return' , that's basically an IdentationError.
Python expects an Idented block
Hey I have an error. When I run "python manage.py migrate'' ... I get the following error:
(base) C:\Users\mpabl\Desktop\django_ex\djangoex>python manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions
Running migrations:
No migrations to apply.
I have the same problem, did you solve it?
i know its to late. have you commit the migration first? try "python manage.py makemigration" first before migrate
@@chawza8402 I managed to solve it, don't remember how. I think it was because of the migration file, it wasn't assuming it was a migration.
Thanks