Re: Declare REST clients in django project

2016-02-18 Thread James Schneider
On Wed, Feb 17, 2016 at 12:28 PM, Горобец Дмитрий wrote: > Hello! > > How do you declare different REST clients in settings of django project? > > Is it a right way to declare clients directly in settings.py? > MAILCHIMP_CLIENT = mailchimp.Mailchimp(MAILCHIMP_API_KEY) > TWILIO_CLIENT = TwilioRest

Re: null datetime field and json fixtures

2016-02-18 Thread James Schneider
On Thu, Feb 18, 2016 at 8:20 AM, Malik Rumi wrote: > James, > > I used csvkit csvkit.readthedocs.org/en/latest/index.html to convert the > csv to json. > Looks legit. I'll just assume it creates syntactically correct JSON, otherwise it probably wouldn't last long as a public package. > > On We

Re: Github v code.djangoproject for bug reports

2016-02-18 Thread Malik Rumi
Ok, never mind. I had to log in first. On Thursday, February 18, 2016 at 11:20:19 AM UTC-6, Malik Rumi wrote: > > Thanks, but, that link goes to http://goog_1605940378/ and reports: > > The server at *goog_1605940378* can't be found, because the DNS lookup > failed. DNS is the network serv

Re: Github v code.djangoproject for bug reports

2016-02-18 Thread Malik Rumi
Thanks, but, that link goes to http://goog_1605940378/ and reports: The server at *goog_1605940378* can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to its Internet address. This error is most often caused by having no connection to the

Re: null datetime field and json fixtures

2016-02-18 Thread Malik Rumi
UPDATE: I went back and looked at the Python module documentation you referenced again. Although it is true that the examples at the top of the page don't strictly match the 8-4-4-4-12 format, those at the bottom of the page do. Furthermore, it seems clear that the uuid.UUID() function is a Pyth

Re: null datetime field and json fixtures

2016-02-18 Thread Michal Petrucha
On Thu, Feb 18, 2016 at 08:20:57AM -0800, Malik Rumi wrote: > James, > > I used csvkit csvkit.readthedocs.org/en/latest/index.html to convert the > csv to json. > > On Wednesday, February 17, 2016 at 7:05:59 PM UTC-6, James Schneider wrote: > > > > > >> The uuid.UUID() function is somewhat forgi

Re: var1 = var2 = var3

2016-02-18 Thread Bill Freeman
The interesting thing is how chained assignment is implemented. In C, the following is an expression, and has a value: a = b This leads to the compiler not being helpful for the famous =/== typo in this like: if (a = b) { ... } In python the only expression in: a = b = c only has one

Re: Github v code.djangoproject for bug reports

2016-02-18 Thread Tim Graham
Please read https://code.djangoproject.com/newticket for an explanation of what type of issue should be reported where. On Thursday, February 18, 2016 at 10:41:54 AM UTC-5, Malik Rumi wrote: > > Does it matter if a bug is reported to one and not the other? Is there any > difference between the

Re: null datetime field and json fixtures

2016-02-18 Thread Malik Rumi
James, I used csvkit csvkit.readthedocs.org/en/latest/index.html to convert the csv to json. On Wednesday, February 17, 2016 at 7:05:59 PM UTC-6, James Schneider wrote: > > >> The uuid.UUID() function is somewhat forgiving when it comes to providing > values. See https://docs.python.org/3.5/lib

Github v code.djangoproject for bug reports

2016-02-18 Thread Malik Rumi
Does it matter if a bug is reported to one and not the other? Is there any difference between the two? Do the issue tracking numbers between the two line up? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and st

Re: whenever i run my server i find this message. how can i be helped

2016-02-18 Thread monoBOT
​the favicon.ico can not be found... all browsers look for favicon.ico on all the pages to show the small icon on the tabs. you should put one of such icons with that name in your static folder in order to serve them You can also uso this on your html and use whatever name you want for the favicon

Re: Django error: migrations not working

2016-02-18 Thread Daniel Roseman
On Thursday, 18 February 2016 12:14:54 UTC, Jasleen Kaur wrote: > > I am unable to do any migrations in any django project. Need help. > > $python manage.py makemigrations > No changes detected > > $django-admin check > ... > ... > django.core.exceptions.ImproperlyConfigured: Requested setting > DA

whenever i run my server i find this message. how can i be helped

2016-02-18 Thread MARK DEMARKTRIX
please help on me upon that error -- 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+unsubscr...@googlegroups.com. To post to this group, send email to

Django error: migrations not working

2016-02-18 Thread Jasleen Kaur
I am unable to do any migrations in any django project. Need help. $python manage.py makemigrations No changes detected $django-admin check ... ... django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment var