Create a real small business website with Django as soon as possible!!

236 views
Skip to first unread message

Siavash Siavashi

unread,
May 24, 2019, 3:30:56 PM5/24/19
to Django users
I am new to Django and I want to create a personal business site using this platform. I should say that i have some experience working with python and html.
In general in my business , customers on home page click on the type of services that they want.Next, they should register some information about the  service interesting.The content of my site should be display as the language that is  selected. Then , I would study the registered requests and response them by email.If a costumer want to check her/his request, it will be informed on website by a tracking number and a note that I write down after processing that request(only a small note about the request checking situation and that the result is emailed to the costumer email).

I could design and create model and database for my website,but my main problem is views and templates.So i have some questions:
1- Is there a sample project to use its views and templates for my website ?
2- is it possible to use built-in admin app views and templates in my website? how ?
2- how to change the language of my website content? is there a sample project?

Thanks alot

Yoo

unread,
May 26, 2019, 7:09:12 AM5/26/19
to Django users
For #3, Django documentation helpfully describes a method. 3) https://docs.djangoproject.com/en/2.2/topics/i18n/translation/#how-django-discovers-language-preference Not sure of sample project, but a simple Google serach on for a GitHub page is enough
For #2, Built-In admin is still possible in production. When deploying, you need to make sure that in your URLConf, you change the path from admin/ to something really strange like iuh494vnun2ijnuhj-2ejv02ijv4-/ so that users don't know that you're using Django and so they can't guess whatever your superuser password is.
For #1, Django is supposed to be an easy web framework. I'm not sure if there's an open-source project anywhere else that is alike your idea since most are totally unique from each other. I'd suggest that you simply get on Django and try it out. 
The issue with Django is mostly the deployment part. It's wildly not fun, there aren't that many tutorials (or at least those that are good), and there can be a lot of difficulties with them. I mean, there is "python manage.py check --deploy", but the true deployment is difficult, and there is no GitHub project that makes it simple.

All in all, views aren't that difficult to understand. Learn a bit of models and views and the Django way of template building, and you'll get the hang of it real quick. Additionally, with templates, it's simple HTML. You can download a website builder, like Google's, and copy-paste the code to a Django application.

Good luck and don't sweat it.

Abdul Qoyyuum

unread,
May 30, 2019, 10:20:29 AM5/30/19
to Django users
Then just use a CMS like https://wagtail.io/. Wagtail is built on top of Django and its enough to cover all of your requirements. But its recommended that you go through Django tutorial in the docs first before trying out Wagtail though.
Reply all
Reply to author
Forward
0 new messages