Try Django Tutorial 18 of 21 – Create MySQL database for a Django Production Server and setup settings Webfaction Sign-Up Deals: 2 months for the price of 1 …
Original source
Try Django Tutorial 18 of 21 – Create MySQL database for a Django Production Server and setup settings Webfaction Sign-Up Deals: 2 months for the price of 1 …
Original source
10 responses to “Try Django Tutorial 18 of 21 – Create MySQL database for a Django Production Server and setup”
Just noting that syncdb from Django 1.7 is been deprecated. Use migrate
Thank you for making these videos. The best I've seen so far on youtube. Shows how programming works in real time with these technologies. Super interesting. I don't use mac but appreciate finding out that people do use mac to program.
videos like this are worthless to me. you are just doing a bunch of crap without explaining a damn thing. moving on…
hello sir ,
i am using python 3.4.3 and django 1.8.3
but doing same as you did i got an error :
Error loading MySQLdb module: No module named 'MySQLdb'
so how to run this . Please Help 🙂
quick question did you upload your files to cyberduck
Hey Guys, after doing the apache2 restart and attempting to log onto my website i get a "502 bad gateway error" any ideas?
Edit: I fixed this error by aligning the port in my settings file with the one on the webfaction hosting website however now I get an internal server error because it is saying "no module named mvp_landing.settings"
Edit2: FIGURED IT OUT! You need to append the path to your project directory to your system path within webfaction.
You can use the python command
sys.path.append('YOUR_PATH_TO_SRC")
And then it should work.
Thanks!!
thanks for the coupon on webfaction. I am getting this error, No module named MySQLdb. Any thoughts? Using Windows/Python3.4/Django 1.6.6.
[bpitchfo@web419 src]$ ls
manage.py professorpitch
[bpitchfo@web419 src]$ python3.4 manage.py syncdb
Traceback (most recent call last):
File "/home/bpitchfo/webapps/professor/lib/python3.4/django/db/backends/mysql/base.py", line 14, in <module>
import MySQLdb as Database
ImportError: No module named 'MySQLdb'
(and a bunch more error exceptrions below this)
thank you very much for this series, been very helpful!
video 18, almost done