Try Django - Launch with Code - 2 of 24 - Start First Django Project

preview_player
Показать описание
Try Django - Launch with Code - 2 of 24 - Start First Django Project - Learn Django & Python & Bootstrap

Post any/all questions in the comments area -- we try to answer all. If you know the answer someone else's questions, please share!

Try Django - Launch with Code - 2 of 24 - Start First Django Project - Learn Django & Python & Bootstrap

The Technologies we learn in Try Django are:
-- Bootstrap: a powerful front-end framework used by thousands of sites around the world. Bootstrap makes it easier to have a responsive web application so it looks awesome on any mobile device and any desktop computer.

Django is awesome and very simple to get started. Step-by-step tutorials are to help you understand the workflow, get you started doing something real, then it is our goal to have you asking questions... "Why did I do X?" or "How would I do Y?" These are questions you wouldn't know to ask otherwise. Questions, after all, lead to answers.

A few ways to learn:

On Udemy:

Bestselling Udemy Coding for Entrepreneurs Course:

MatchMaker and Geolocator Course:

Marketplace & Daily Deals Course:

Free Udemy Course (100k+ students):

Рекомендации по теме
Комментарии
Автор

If God wills I will definitely join your 25$/month courses right after finishing this series-just to thank you guys.... thanks, great job! keep it up))

ASUS-hkpj
Автор

I love you for creating this whole series. It's the perfect way for me to learn how to do all this. Goodluck!

thomasibbotson
Автор

This tutorial series looks really awesome !!!

BrewerFR
Автор

For all who don't know how to initiate a CTRL - BREAK. The shortcut is CRTL and C. Also, if python manage.py syncdb does not work, use python manage.py migrate. Go to the HTTP address the terminal provides and at the end of the web address enter /admin

sharifaly
Автор

How many lwc folders are there? It seems like there's one for the VE, one for the project, and is there one more inside that one? I'm looking at 10:08 and it looks like it's lwc/lwc that has a folder called lwc inside that. Am I right?

mitchjohnson
Автор

9:49 minute --> Django-admin.py startproject lwc
returns error " No module Named django.core"
this is caused by two possibilities
 (1) your python path is pointing on the wrong version of python - go check your environmental variables.
(2) You need to have django installed on your virtual environment and on your regular machine / environment - deactivate your LWC environment and type pip install django. Reactivate LWC and try it again, should work

MorusMalus
Автор

is this tutorial able to be done with 1.7 or should we just do it in 1.6.5 just so it goes smoothly ?

Zzzzzzzzzzzzzzzzzzzzr
Автор

So I have done the install for virtualenv but when I try to create my folder this is what I get any ideas? tried to look on stackflow.

desktop duwaynew$ virtualenv someone -bash: /usr/local/bin/virtualenv: bad interpreter: No such file or directory

What does this mean?

Duwayne
Автор

Hey, I'm going crazy cuz I cannot manage to locate manage.py, when i capp python manage.py runserver it says:

python: can't open file 'runserver': [Errno 2] No such file or directory

9:45 you go from lwc into cd lwc, and that gets you to have lwc and manage.py inside of it, i don't understand how you went from the lwc into another lwc and there it was your virtual enviromment, I can't find the answer online and it's been driving me crazy for the last 40 minutes

HELP! plss

fminyoutube
Автор

CodingEntrepreneurs how do i use MongoDb instead of the default sqlite3 as the database for this app?

fun_vandanrevanur
Автор

I really appreciate these videos, but feedback:

- Originally, I searched for videos based on Windows and found this channel. I used the 7-video playlist for that. And now I'm onto this playlist and barely any instructions are given in a consistent way for us Windows people to follow along. A long time is spent belaboring minor features and easy to understand concepts and then more important things are just glossed over.

- The last videos had us set everything up on the desktop which I hate. I have no idea which way I'm facing now with all these virtual environments being started and just abandoned that don't go anywhere. Should we not be keeping all the files together in the Python or Django folders? Is there a library to house projects?

- Also, it's not made clear: Am I literally installing Django for each VE I set up? Will that eat up my hard drive? That's probably a really dumb question, but I'm confused.

Conclusion:
Consistency in remembering the two OS audiences and also organization for how to place files properly the first time would be great. Help us to know when/how we can delete stuff instead of abandoning it. And are we downloading the Django code completely each time we set up VE?

thanks.

VideoMenu
Автор

hi when i do pip freeze it doesnt show everything with me. ı could just see the virtualenv, mysqlconnector wheel and django :S

ipekkzl
Автор

[edit] I'm going to try this again.

If you're coming to this video cold as a WINDOWS user, watch this CodingEntrepreneurs video first to get past the initial part:

*Install Django and Python on Windows 3 of 7 Start Project & Env From Scratch*

*IN WINDOWS* (returning to the video of this page)
If you are starting with a venv already started, navigate to the project name.
>pip freeze [just to check Django is there]
>python manage.py runserver

If for some reason, runserver doesn't work, remember to do first:
>python manage.py migrate

If you don't have a BREAK/PAUSE button on your keyboard, open the desktop keyboard at the start menu.

12:00 - CONTROL-C works for Windows. But you'll have to restart the cmd.exe and start the server again as above.

VideoMenu
Автор

Hey i am trying to launch this project and change some configs. Can I get this to run on Django new version 1.8?

rootraider
Автор

now django is 1.10.5 will there be problem if im gonna follow this tuts?

perweezneqqi
Автор

Do you do any other Python Framework tutorials? Such as Flask?

BrewerFR
Автор

virtualenv command not found when trying to execute might have wrong path how to i redirect path

kharonrayford
Автор

So, I came here to see if I could figure it out. As far as I can tell it is impossible to get Django 1.6.5 to work on a Mac running Python 3.6 or 2.7, agreed?

gwilsonia
Автор

How do admin know how many people are being invited from the sharer ? Because we have to know if the sharer is succeed in inviting the people to be liable to get the offer as specified ?  

tushant
Автор

IF you get an invalid http response, please go back to your terminal and type in python manage.py runserver so you can reactivate the server.

sharifaly
join shbcf.ru