W
W
Worddoc2017-10-25 14:05:24
Django
Worddoc, 2017-10-25 14:05:24

How to write an admin panel + LC for the first time in Python stepping on a smaller number of rakes?

Hello.
The situation is as follows:
My friend and I are planning to create a pet-project, I have a front + back, a design on it. I myself am a frontender and I can handle this, but I have never dealt with backend. I have to write a CMS (admin panel + interaction with a template engine (I think I'll take a ready-made one)) and a user's personal account. I want to write a self-written admin panel because of security holes in existing CMS + for development.
I chose Python as the language, because Django has a ready-made internal admin panel, which you just need to sharpen to suit your needs.
Question: how to write an admin panel + personal account for the first time stepping on a smaller number of rakes? I understand that this is almost unrealistic, but still, what exactly do you need to know (a small thesis plan) and keep in mind so that you don’t end up with a Frankenstein that cannot be supported?
I would be very grateful for good advice. Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
F
FeNUMe, 2017-10-25
@Worddoc

You should start by going through the official django tutorial and reading the admin documentation. After that, the realization should come that the user's personal account and the admin panel are different things and it is not worth doing the first on the basis of the second. At this stage, you should think about whether you need jang at all, because according to the description of your task, it seems to me that a lightweight microframework like flask / bottle is more suitable for you if you need a python. If there are no objective reasons for backing in python, then I would advise you to do it on what you already know - that is, on JS using node.js.
Well, if you still want to learn django, then write a separate django-app for the LC, you can take the implementation of user profiles as a basis (google is not a problem). And you use the dzhangi admin panel for its intended purpose, letting only administrators and staff go there.

S
sim3x, 2017-10-25
@sim3x

just tweak to your needs

No, not easy.
No, you can't let users in there.
Yes, it’s easier to write an admin panel with 0
The more rakes you collect and solve, the more experience you get

A
Alex, 2017-10-25
@mr_ko

It seems to me that in your case it will be easier to write a REST api on Django and an admin panel on angular, react, vue ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question