You are here
finga - Fri, 2009/10/23 - 12:30
Hoi,
since several hours I try to create a Django project on a TurnKey Django installation. How can this be done? I am new to Django but i can't find any solution.
thx a lot
Forum:
Hoi,
since several hours I try to create a Django project on a TurnKey Django installation. How can this be done? I am new to Django but i can't find any solution.
thx a lot
Documentation
Thx a lot, this helps very
Thx a lot, this helps very well. I've read many about Django these days so it wouldn't be hard to begin. :D
Apache configuration
Note that DJANGO_SETTINGS_MODULE is set to apps.settings.
Hope this helps.
having problems setting up the database.
I setup a new database, I call it "tracker". I setup a user called "django" to manage all my Django databases. I setup "Database Permissions" to all.
In my settings file, I have...
DATABASES = {
'default' : {
'ENGINE': 'django.db.backends.mysql',
'NAME': '/var/lib/mysql/tracker',
'USER': 'django',
'PASSWORD': 'passwd',
'HOST': '',
'PORT':'',
}
}
I verified that 'tracker' exists as a database, but I didn't make any tables for it yet. My first question, do I have to create at least one table? or when I type 'python manage.py syncdb', I get the following...
TBH I don't know but I would try using the DB name - no path
Something like this:
AFAIK the full path only applies to when you use SQLite as your DB backend...
Re GitHub Questions.
Regarding the inability to get into the admin panel (I assume this is the same subject) I expect this is because of the new Database declaration. I expect the Admin is more hard wired than that (though I can't see in Admin where to define a new Database within Django. Certainly can be done in MySQL but this won't nessicarily tie in with the App itself.
I installed Django and had no problem getting in via Admin and also via Webshell. I am using Firefox and Chrome both. I have not tried on my android phone, just my Windows machine.
I doubt you will want to do Python coding with an IPAd but perhaps I am wrong.
There is not a "rich and creamy interface" with Django is there. You noted you installed a Template? I sure could use a Template vis a vis the back end. What shows up in the Django Book sure looks better than what shows up on my first venture into the Django Admin page. Seems a worthy project to get up to that level.
If you want to have a Django Ap show up instead of the Admin/WebShell/Webmin set of choices easiest is to do your configuring in Webmin - Apache. Careful though. Easy way also to break things.
I need to read the Django book. Python is worth using, but it looks like.
Snowstorm. About to have a power outage so I am going to sign off.
Add new comment