I have create many web page, about 50 html web pages ( include many js and css files), I 'd like django framework to create a web project. how should I do it? I have try the Poll tutorial, but feeling very difficult to structure a normal project.
idea of project
index page:
- static page 1–> 10 sub static pages
- static page 2 → 10 sub static pages
- static page 3 → 20 sub static pages
- static page 4 → 15 static subpages
- discord webpages
how should i structure my project? should every pages or sub pages need an app?
Yes, Django can be a very secure framework - but it’s a framework for developing dynamic pages. There’s no need (or value) for using Django to serve static pages - they’re better handled by simply deploying them behind a web server such as nginx.
If you are interested in learning Django and haven’t done so already, work your way through both the Official Django Tutorial and the Django Girls Tutorial. They’ll help you understand what Django does and the types of applications you would build using it.
thank you. I just tried the official tutorial, I shall try this Girls Tutorial. I feel the tutorials are too surface. don’t know how to expand the django knowage and structure a web application. I need to add a communication page on my static projects, so that people can give feedbacks or post questions.
Pick a project that requires dynamic pages to be generated. That’s what you’re learning in these tutorials.
The tutorial has already done that. Don’t look to make it more complicated for now.
It’s a separate “project” - again - don’t try to mix what you want to do here, with the display of static pages.
If you identify exactly and completely what you want that “communication page” to do, then you’ll see it’s a very simple task.
This is great tip. Thank you KenWitesell.
Do you know to how can I study more to get a job? Even though I am able to setup the env, the github and django, I feel like knowing django too less.
You’re going to learn more by “doing” rather than “studying”.
Find a topic or subject that really interests you, and start working on a project relating to that. Writing code is going to do a lot more for you than just reading about it.