do i need a custom admin app or should i just use django admin?

24 views
Skip to first unread message

Arya

unread,
Jun 17, 2019, 7:12:53 AM6/17/19
to Django users
i'm planning to build a full ecommerce business to business website. there are several user types.
premium users need to create products and edit them. they need to  communicate to each other. see statistics and access some premium content.
do you suggest to user the default django admin? or i'm better off creating a custom admin app ?

Andréas Kühne

unread,
Jun 17, 2019, 9:49:33 AM6/17/19
to django...@googlegroups.com
I would advise you to not use django admin. Django admin is fine in development and for quickly doing crud. However if you need to change something in the workflow in admin, it is doable but rather hard. Creating the views using Class based views is rather simple if you use generic views - so that's what I would do.

Regards,

Andréas


--
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...@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/5215792d-621b-4f61-86de-8ac94b18022f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James Farris

unread,
Jun 17, 2019, 12:40:53 PM6/17/19
to Django users
Think of the Django Admin as a tool for developers or Database Admins.  IMO, it should never be used by an end user.  Create views as Andreas mentioned and give those views permissions.

Rajat Chopra

unread,
Jun 17, 2019, 2:31:49 PM6/17/19
to Django users
What are the reasons not to use Django Admin? 

Also with regards to creating views and giving those views permissions - are there any examples someone can point to help illustrate?

James Farris

unread,
Jun 17, 2019, 2:44:06 PM6/17/19
to django...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/1LpORyVyQls/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Andréas Kühne

unread,
Jun 18, 2019, 4:09:29 AM6/18/19
to django...@googlegroups.com
I have built a system using django admin for the main interface. It's doable - however - I wouldn't do it again. The main reason is that getting things working quickly is easy. You get a simple interface that can do CRUD. You then add grappelli (or some other system) to get a nicer interface. And then you start nesting things.

Now your problems start. The admin interface gives you a lot of functionality out of the box, BUT the problem is that you need to follow the exact guidelines for this to work. You start working with formsets and specialcases and it takes a long time to write the code. So the initial fast setup makes it hard do develop features in the long run. 

At least that's my experience.

Regards,

Andréas


--
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...@googlegroups.com.

Andréas Kühne

unread,
Jun 18, 2019, 4:22:05 AM6/18/19
to django...@googlegroups.com
Regarding views and permissions, this is build into class based views. Look here: 

Den mån 17 juni 2019 kl 20:31 skrev Rajat Chopra <cho...@gmail.com>:
--

Andréas Kühne

unread,
Jun 18, 2019, 4:23:53 AM6/18/19
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages