Re: Is Django logging multi-process safe?

2018-12-21 Thread Dan Davis
Eric, thanks for confirming. I've written my share of logrotate.d files, but I may push to do something else, like send them directly to Elasticsearch with a delay of some sort. On Fri, Dec 21, 2018 at 2:00 PM PASCUAL Eric wrote: > Hi, > > > If you are running on a Linux system, you'd better

Re: DJANGO FOR FINANCE !

2018-12-21 Thread Mohamed Hashi
i have a problem with models i write the code but still dont wanna makemigrartions any help thanks . ‫في الجمعة، 14 ديسمبر 2018 في 3:33 ص تمت كتابة ما يلي بواسطة ‪codesign web za‬‏ <‪sh...@codesign.web.za‬‏>:‬ > I eventually chose django-chartjs and django-datatable for this > > On 13/12/2018

Re: Not able to install Django in ubuntu 16.04

2018-12-21 Thread Sanjeev Singh
@ Dr. Sandeep Singh Sengar Can you please show me your error. On Fri, Dec 21, 2018 at 10:20 PM Sandeep Sengar < sandeep.iitdhan...@gmail.com> wrote: > done; > > On Fri, Dec 21, 2018 at 8:30 PM Gear Crew > wrote: > >> Hello the first one show us your message errors and the second prefer use >>

Re: Is Django logging multi-process safe?

2018-12-21 Thread PASCUAL Eric
Hi, If you are running on a Linux system, you'd better using the standard stream logs and logrotate to manage file rotating. The later is the blessed tool for this kind of task, since it manages for free the compression of rotated files and removal of oldest ones if you want to. Regards

Re: Is Django logging multi-process safe?

2018-12-21 Thread Dan Davis
Looks like I should use a WatchedFileHandler and then have logrotate do the logging. If the file pointer is moved by another process, then it will work. Does gunicorn patch this for me? Will I be better off using syslog or something? On Friday, December 21, 2018 at 11:51:16 AM UTC-5, Dan

Is Django logging multi-process safe?

2018-12-21 Thread Dan Davis
I just came across this: https://docs.python.org/3.5/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes This suggests that log messages sent to a StreamHandler will be processed properly, but log messages sent to a standard logging.handlers.TimedRotatingFileHandler

Re: Not able to install Django in ubuntu 16.04

2018-12-21 Thread Sandeep Sengar
done; On Fri, Dec 21, 2018 at 8:30 PM Gear Crew wrote: > Hello the first one show us your message errors and the second prefer use > virtual environment like pipenv or virtualenv and hold on until solve your > problem > On Friday, 21 December 2018 15:34:00 UTC+2, Dr. Sandeep Singh Sengar

Re: Not able to install Django in ubuntu 16.04

2018-12-21 Thread Gear Crew
Hello the first one show us your message errors and the second prefer use virtual environment like pipenv or virtualenv and hold on until solve your problem On Friday, 21 December 2018 15:34:00 UTC+2, Dr. Sandeep Singh Sengar wrote: > > Hi, > > I have tried lot to install Django framework from

Not able to install Django in ubuntu 16.04

2018-12-21 Thread Dr. Sandeep Singh Sengar
Hi, I have tried lot to install Django framework from https://docs.djangoproject.com/en/2.1/topics/install/#installing-official-release . However every time there is new error, kindly support me in this regard by providing clear steps. I am using Python 3.7.1 and pip 18.1 Your help will be

Stored Procedures v/s ORM?

2018-12-21 Thread supriya . singla
Hi , Is it a good practice to use stored procedures in django ? What are the pros and cons for each approach? Thanks, Supriya -- 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,

Can't add users to groups. No Groups Chosen Box in Admin

2018-12-21 Thread mab . mobile . 01
I've created an Employee group for my project but the Admin Group Chosen Box is not displayed. See screenshot Need help on adding users to groups and getting the box to display. Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

i am having problem with django translations

2018-12-21 Thread Bleron Uka
i have 3 languages in my site but when i call all *parts *in the index, it is not going to translate in the SHQIP language Please who knows how to call in current lang i am calling like this {*{ parts.category }}* it returns base language parts =