django admin code modification

26 lượt xem
Chuyển tới thư đầu tiên chưa đọc

Carl Brubaker

chưa đọc,
16:21:17 23 thg 12, 201723/12/17
đến Django users
So there are lots of things I like about the django admin, and somethings I would like to change. Since django is kinda about not reinventing the wheel, is there an "app" or file or something where I can find the admin information to modify it to what I want, and then save it as a new app? Thanks!

Jani Tiainen

chưa đọc,
07:10:01 24 thg 12, 201724/12/17
đến django...@googlegroups.com
Hi.

It would be helpful to know what changes you're after.

Admin is designed to be datacentric view to your models. Trying to make admin something more is quite a job.

That's why there exists generic class based views. They allow to create much more flexible views and incorporate for example business logic.


23.12.2017 23.22 "Carl Brubaker" <itsbette...@gmail.com> kirjoitti:
So there are lots of things I like about the django admin, and somethings I would like to change. Since django is kinda about not reinventing the wheel, is there an "app" or file or something where I can find the admin information to modify it to what I want, and then save it as a new app? Thanks!

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/24f3d510-ba00-4256-93fa-7ee041deec0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Carl Brubaker

chưa đọc,
15:39:04 24 thg 12, 201724/12/17
đến Django users
I am trying to make a customer database (name, address, etc) and I need to be able to add new customers, edit customer info, delete customers, and search for them through name and phone number (and possibly more). When I enter the admin site and select my app, I have all of those fields given to me as well as a search field.

Also, is there documentation as to what the generic views are? I have tried to find them and failed miserably.

Thanks for your help.

Jani Tiainen

chưa đọc,
09:22:56 25 thg 12, 201725/12/17
đến django...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Trả lời tất cả
Trả lời tác giả
Chuyển tiếp
0 tin nhắn mới