What is django-admin in django?

Asked 2 years ago, Updated 2 years ago, 77 views

I'm Newbie, who's recently approaching Python.

The first time you encounter something, the most embarrassing moment is It compares with what I know before, and when there is a difference, there is confusion.

There is a command called django-admin, is it like a manager in cms? Or is it like generate in php framework yii or ci?

I'm confused because I don't have a concept

I think it's called in modules and used.

Please!

django python

2022-09-22 22:06

3 Answers

When I roughly searched generate in PHP framework yii, it seems to be different from Django's admin.

Django's admin is an administrator page that is automatically created for the model we designed.

There are some similarities and other differences to the Administrator page in a typical CMS. This admin page is created in almost the same form as the model we designed, so if there is data that needs to be modified, it can be easily changed. However, it is difficult to deal with the view group or other parts because they are not related to the model.


2022-09-22 22:06

Library where you can configure administrator pages in the django framework.

Provides a way to organize pages that can manage django's models (represented by database ORM:Object-Relational Mapping).

Reference

(English)The Django Admin Site

Other/surround


2022-09-22 22:06

The django-admin command is: https://docs.djangoproject.com/en/1.9/ref/django-admin/ Here's an explanation. Command line utility for storage management.

If not, you can refer to other people's explanations.


2022-09-22 22:06

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.