how to connect mysqlclient on my pc

2019-01-12 Thread DIPU SARKER
hello i use windows10.How i use mysql in my django project and how to install mysqlclient in my pc. -- 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-user

Re: Pip installation

2019-01-12 Thread Alfredo Sumague
Did you install python on your pc? If not download python (version 3.7 is the latest), then installed. On Sat, Jan 12, 2019 at 4:44 AM Kidwell Nyatsambo wrote: > Pip installation refusing to install on Windows 10. > Coming with this message; > [image: image.png] > > Please help. > Thank you in a

Re: Pip installation

2019-01-12 Thread Jeff Kramer
E.I Kenneth, Thank you. I too was having an issue with my PC/Win10 and Pip install. Anaconda seems to be working much smoother for me. Thanks- Jeff > On Jan 12, 2019, at 6:25 AM, kennedy kay wrote: > > What you can also do is install Python from Anaconda. > It comes with inbuilt pip > > g

Re: Logging debug & error messages to file

2019-01-12 Thread PASCUAL Eric
Hi, That way you don't have to deal with rotating log files (not sure if djangos file logger handles that though) and permission problems. There is no "Django logger". Django uses the Python native logging module. This module defines several handler types, including the RotatingFileHandler one

Re: Pip installation

2019-01-12 Thread kennedy kay
What you can also do is install Python from Anaconda. It comes with inbuilt pip goto: https://www.anaconda.com/download/ After installation: Open Ananaconda prompt and install any pip package *Kind regards,* *E.I Kenneth[Python developer/Machine Learner]@www.wolfiegrabber.in

Can a class which inherits from factory.DjangoModelFactory use Django TestCase asserts?

2019-01-12 Thread אורי
Hi, I have a problem with tests. We defined a class called DefaultUserFactory which inherits from factory.DjangoModelFactory, and I want to use asserts in this class such as assertEqual. What is the best approach to do it? I tried to inherit both from factory.DjangoModelFactory and from Django cla

Re: Pip installation

2019-01-12 Thread Kasper Laudrup
Hi Kidwell, On 12/01/2019 13.37, Kidwell Nyatsambo wrote: Pip installation refusing to install on Windows 10. Coming with this message; image.png I have zero experience with Windows 10, but have you had a look a this guide: https://matthewhorne.me/how-to-install-python-and-pip-on-windows-1

Re: Logging debug & error messages to file

2019-01-12 Thread Kasper Laudrup
Hi Uri, On 12/01/2019 11.34, אורי wrote: I'm trying to log debug & error messages to a file. But I receive this exception on the server: ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/speedy_net_django.log' The user running django does not have wri

Pip installation

2019-01-12 Thread Kidwell Nyatsambo
Pip installation refusing to install on Windows 10. Coming with this message; [image: image.png] Please help. Thank you in advance Kidwell -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Logging debug & error messages to file

2019-01-12 Thread אורי
Hi, I'm trying to log debug & error messages to a file. But I receive this exception on the server: ValueError: Unable to configure handler 'file': [Errno 13] Permission denied: '/var/log/speedy_net_django.log' If I change the path to '/tmp/speedy_net_django.log' then it works. How do I configu

Re: template not exist error snap in attechment

2019-01-12 Thread tribhuvan kishor
thanks, Shiva I think its matter of lack of concentration from my side thanks buddy, On Sat, Jan 12, 2019 at 1:32 PM shiva kumar wrote: > It's not detail it's details.html > > On Sat 12 Jan, 2019 12:42 pm tribhuvan kishor < > tribhuvankishor...@gmail.com wrote: > >> even list.html is in the same

Re: template not exist error snap in attechment

2019-01-12 Thread shiva kumar
It's not detail it's details.html On Sat 12 Jan, 2019 12:42 pm tribhuvan kishor even list.html is in the same place and its accessible . i am not getting > why showing problem with details.html > > > On Sat, Jan 12, 2019 at 12:40 PM tribhuvan kishor < > tribhuvankishor...@gmail.com> wrote: > >> "