Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Django help

Name: No name 2013-01-13 8:53

Do i have a couple of questions about django for you.
Anyone using it?
I'm a noob and got a recommendation to start learning python with django for web development
Do i need to use html/css/js or is it all python?
Sorry for a retarded question but i don't seem to be able to find it anywhere
Is python with django just an php replacement?

Name: Anonymous 2013-01-13 9:26

Do i need to use html/css/js or is it all python?
You need all three of those for your templates.

Is python with django just an php replacement?
Absolutely not.

Try reading the tutorial. https://docs.djangoproject.com/en/1.4/intro/tutorial01/

Name: Anonymous 2013-01-13 9:29

use lisp

Name: Anonymous 2013-01-13 11:13

>>3
Everytime i post here i get the same recommendation
>>2
Thanks
So if i understand corectly django is a web server written in python.
And i need the web development languages becouse django is the backbone.

Name: Anonymous 2013-01-13 11:17

>>4
You're a nigger. Web development is for faggots. The web is already full of shit, nobody needs your crap. If you want to learn about python and django go to reddit/r/kikeware.

Name: Anonymous 2013-01-13 11:34

>>5
Well what do you sugest?
I hate web developmet just as much as you but it's the only way i could make some money since i'm still in highschool
If you say lisp or anything that's 100 years old you are even more of a nigger than me
I hate web shit
I like phone apps, desktop apps that sort of things

Name: Anonymous 2013-01-13 11:35

>>4
I am >>5
and I am sorry for that rant. It's just that I have a wife and kids who do not appreciate me.
     Anyway, django is like php but not completely. It is an MVC (model view controller)framework. What this means is the three major components i.e. the databases (model), the look of the website (basically html and js), and controller (this is used to generate dynamic html) are clearly separated. In django the terminology is a bit different they call them models, templates, and views. 
    In building a django application you define your databases as "models" i.e. as a python class. Similarly your html remains almost same but you can use "templates" which provide additional functionality. Finally, views are used to link models and templates, i.e. views recieve requests and they can use models and templates to send the response.
    Check out the django website and work through the example; It will be much clearer after you've created a simple application.

Name: Anonymous 2013-01-13 11:46

>>7
Thanks and no problem
Any help is appreciated

Name: Anonymous 2013-01-13 11:57

>>8
If you want to make some money you should suck dicks.

Name: Anonymous 2013-01-13 12:05

django unchained

Name: Anonymous 2013-01-13 12:17

I've read some more stuff and this is what i understood:
Django is a shitload of code that most websites reuse and by using it you save time
Then you add functionality to it by using projects that contain apps written in python
The "look and feel" of the site is stock html/css/js/whatever you want

Am i on the right track?

Name: Anonymous 2013-01-13 14:18

django chained to forced indentation

Don't change these.
Name: Email:
Entire Thread Thread List