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

2019-06-17 Thread Andréas Kühne
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

Re: Digital Ocean server Error

2019-06-17 Thread Soumen Khatua
after run this journalctl -xe command,this is the log: * The leading process of the session is 4094.Jun 17 14:29:43 sai-foundation su[4174]: Successful su for sai by rootJun 17 14:29:43 sai-foundation su[4174]: + /dev/pts/0 root:saiJun 17

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

2019-06-17 Thread Arya
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

Re: Digital Ocean server Error

2019-06-17 Thread Anirudh Jain
could you run `journalctl -xe` tell us more about the log result On Mon, 17 Jun 2019, 17:08 Soumen Khatua, wrote: > Hi Folks, > > I uploaded my project into digital ocean but at the time of run > this*(sai@sai-foundation:~/saiproject$ > sudo systemctl status gunicorn) *command,I'm getting this

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

2019-06-17 Thread Rajat Chopra
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? On Monday, June 17, 2019 at 11:40:53 AM UTC-5, James Farris wrote: > > Think of the Django Admin as a tool for

Re: Where did admin CSS file "ie.css" go after Django 1.8?

2019-06-17 Thread Robert F.
I've discovered the problem. The release notes for Django 1.9 say, "The admin no longer supports Internet Explorer 8 and below, as these browsers have reached end-of-life." Thus, this file is no longer included in Django. On Monday, June 17, 2019 at 12:00:08 PM UTC-7, Robert F. wrote: > > I'm

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

2019-06-17 Thread James Farris
Read the docs regarding this. https://docs.djangoproject.com/en/2.2/topics/auth/default/#permissions-and-authorization On Mon, Jun 17, 2019 at 11:31 AM Rajat Chopra wrote: > What are the reasons not to use Django Admin? > > Also with regards to creating views and giving those views permissions

Where did admin CSS file "ie.css" go after Django 1.8?

2019-06-17 Thread Robert F.
I'm in the process of upgrading a large Django project from 1.8 to 2.2. Currently, I'm at 1.9.13. My project has a couple of admin forms that utilize a Django CSS file admin/css/ie.css. In Django 1.8, that file was located here: django/contrib/admin/static/admin/css/ie.css But in Django

Re: Help : Advance ORM queries

2019-06-17 Thread Devender Kumar
Need help in writing ORM query for this type of result On Tuesday, June 18, 2019 at 10:54:30 AM UTC+5:30, Devender Kumar wrote: > > Hi, > I have 3 models which are related like this. > Accounts can have multiple contact > and one contact can have multiple comments > one contact can be assigned

Help : Advance ORM queries

2019-06-17 Thread Devender Kumar
Hi, I have 3 models which are related like this. Accounts can have multiple contact and one contact can have multiple comments one contact can be assigned to at most one account. [image: CRM Relation.png] Result should look like as described in above photo Thank you

Digital Ocean server Error

2019-06-17 Thread Soumen Khatua
Hi Folks, I uploaded my project into digital ocean but at the time of run this*(sai@sai-foundation:~/saiproject$ sudo systemctl status gunicorn) *command,I'm getting this error: *● gunicorn.service - gunicorn daemon Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor

Re:

2019-06-17 Thread Andréas Kühne
Hi, Which database? The solution depends on which database you are using. I would look to see so that the user you are trying to connect to the database with actually CAN open the database? Regards, Andréas Den mån 17 juni 2019 kl 15:46 skrev Herman : > how do I solve thsi kind of

Re: Installation Error!

2019-06-17 Thread ojakol emma
if you are using django first say pip install django and channels later say pip install channels On Mon, Jun 17, 2019 at 3:34 PM ojakol emma wrote: > pip install name e.g django > > On Fri, Jun 14, 2019 at 3:03 PM Brian Odhiambo > wrote: > >> Hello guys, how do I solve this issue.

[no subject]

2019-06-17 Thread Herman
how do I solve thsi kind of operational error on windows 'django.db.utils.OperationalError: FATAL: password authentication failed for user "hp" '? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

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

2019-06-17 Thread James Farris
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. On Monday, June 17, 2019 at 4:12:53 AM UTC-7, Arya wrote: > > i'm planning to build a full ecommerce business

Re: Confused with deleted migrations

2019-06-17 Thread Andréas Kühne
Hi, If you look here: https://docs.djangoproject.com/en/2.2/topics/migrations/ You will see Djangos official take on migrations - you don't need to use version control for handling them (see here for examples of version control: https://en.wikipedia.org/wiki/Version_control). The main thing