Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Page
Discussion
Edit
View history
Editing
Mika/Notes/Computer Stuff
(section)
From WikiDotMako
Jump to:
navigation
,
search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=Django= ---- *Tried setting up Django on my computer by following this [http://itpro.nikkeibp.co.jp/article/COLUMN/20081031/318265/?ST=develop&P=4 tutorial] '''Problem:''' It worked mostly ok but I couldn't go further than the second to the last coding box on page 4. I kept getting long error messages. '''Solution:''' [http://docs.djangoproject.com/en/dev/intro/tutorial02/ Django tutorial about django.contrib.admin] 1. Check if I typed in the correct codes. 2. Check if the output are the same everwhere: Although the codes were correct, they didn't create all the necessary things, so it couldn't find the index.html. * I went to setting.py to specify: ** the absolute path for Template_Dir. Don't forget the , after '/path/' . ** two additional Installed_Apps: myprj_myapp (where I save my project) and django.contrib.admin . Run python manage.py syncdb afterwards. This created myapp_post and django_admin_log in mysql database. ----
Summary:
Please note that all contributions to WikiDotMako are considered to be released under the Attribution-Share Alike 3.0 Unported (see
WikiDotMako:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information