Re: Role And Permission

2021-08-23 Thread Lalit Suthar
https://medium.com/djangotube/django-roles-groups-and-permissions-introduction-a54d1070544 On Wed, 18 Aug 2021 at 18:32, Premkumar Chalmeti < premkumarchalm...@gmail.com> wrote: > I was working on a similar requirement. > > Checkout this https://github.com/premchalmeti/company_uam > > Inside `Doc

Re: Run Any Python Project

2021-08-23 Thread Lalit Suthar
install requirements, possibly there'll be a file named requirements.txt run the command after going inside the directory `pip install -r requirements.txt` and it will do On Mon, 23 Aug 2021 at 11:32, MUGOYA DIHFAHSIH wrote: > but i think the error is so clear, there is no module named gettext_n

Basic questions about scaling a Django web app. (e.g. AppEngine solves all problems?)

2021-08-23 Thread cseb...@gmail.com
I have a simple web app (bighelp.business). I anticipate the number of users to steadily increase. I'm having nightmares of having to guesstimate how much extra RAM and cores to add every week. Furthermore, WSGI has these switches I use... --processes=5 and --max-requests=50. I don't know ho

Django admin - how to change breadcrumbs 'Home' into 'Main menu'

2021-08-23 Thread Mike Dewhirst
We are using 'Home' in a different, more public, part of the site and have to adjust that first item in the Admin breadcrumbs to 'Menu' or 'Main menu' in order to keep the UX masters happy. Some of the Admin is public facing. Looking at the source, I would have to override an awful lot of tem

Re: Django Form Help

2021-08-23 Thread Billy Muller
Never mind, I realized I forgot the save command. Thanks in advance for anyone that was looking into this. On Monday, August 23, 2021 at 4:35:16 PM UTC-4 Billy Muller wrote: > I have a form in Django that requires a little user input and then > executes some commands in doctl and then I want t

Filter GenericForeignKey by list of different model objects

2021-08-23 Thread Msw Tm
I am trying to build activity logs by a User or any other model object, to which a user can follow/subscribe. These are the models related with logging the activities and following them: *class Activity(models.Model):"""An activity log : Actor acts on targetActor can

Re: Surpress Daphne request logging levels

2021-08-23 Thread Jason
daphene runs at the same infra layer level as uwsgi/gunicorn so you need to define the log level at process init. Django has no control over this. On Friday, August 20, 2021 at 12:05:17 PM UTC-4 benny.s...@gmail.com wrote: > I am trying to surpress the log output from daphne. > > example log: >