A
A
ANDREW_TUR2018-02-28 10:24:55
Django
ANDREW_TUR, 2018-02-28 10:24:55

Django. Admin, is it possible to do without it?

Django. Admin, is it possible to do without it? I want the site admin to simply add new menu items, new pages in PM. Is it possible?
Theorists please pass by!
Who has done this in practice?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Roman Kitaev, 2018-02-28
@ANDREW_TUR

Everything in the contrib module is not required to run django.

S
Sergey Gornostaev, 2018-02-28
@sergey-gornostaev

Yes it is possible. I know in practice.

A
Animkim, 2018-02-28
@Animkim

The admin panel is disabled without any problems.
The necessary functionality is written independently.
The question is posed as if writing your own admin panel functionality is something incredibly complicated.
Oh yes, not a theorist.

M
marataziat, 2018-02-28
@marataziat

Remove from urls.py everything that has the word admin :) And that's it. In installed-apps also remove 'django.contrib.admin'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question