Re: django install

2017-05-13 Thread Mike Dewhirst
On 14/05/2017 10:15 AM, Dwaine Zeringue wrote: pip install Django in interpreter (via windows command prompt) continuously results in syntax errors, specifically, file line 1 pip install django "" I have written a couple of batch files for creating a new Python/Django environment on Windows

Re: what kind of question i can ask here?

2017-05-13 Thread shahab emami
thanks every time that i wanted to ask question i was worried . i thought maybe this is simple question and i don't have to ask this in this professional group On Saturday, May 13, 2017 at 5:19:14 PM UTC+4:30, shahab emami wrote: > > hello > > when i get a problem in my code i search for it in

Re: Django Channels: Multiple 'send' calls in the same consumer

2017-05-13 Thread Andrew Godwin
Hi Tristan, All messages sent from a consumer are delayed for sending until the consumer exits to keep things atomic - long-running consumers is bad for performance, as they'll hog an entire thread (they run synchronously) and so you'll quickly run out of threads/processes as you'll end up using

django install

2017-05-13 Thread Dwaine Zeringue
pip install Django in interpreter (via windows command prompt) continuously results in syntax errors, specifically, file line 1 pip install django "" Could anyone guide me in installing a python/Django environment on windows -- You received this message because you are subscribed to the

Re: Aggregating a query while selecting more than grouped by ...

2017-05-13 Thread Todor Velichkov
This is a typical *greatest-per-group* problem, there is even a tag for that in SO: And if you search for questions in this area related to Django you will

Re: View Function Signature?

2017-05-13 Thread Daniel Roseman
On Friday, 12 May 2017 15:11:55 UTC+1, nickeforos wrote: > > Thanks for the link. I understand these examples but still I would like to > see how a view function is defined. > > I also would like to see it in PyCharm. When I click on a view function in > PyCharm I only see: > > def

Django Channels: Multiple 'send' calls in the same consumer

2017-05-13 Thread Tristan Barry
Hi - I'm working with Django Channels (1.1.3) on a Django project and I have some questions about how to send multiple messages from the same consumer. The idea is the consumer will receive a request to do some work, and will send incremental results back to user. I've attached a simplified

Re: Need help in Django User Model customization and authentication

2017-05-13 Thread Constantine Covtushenko
Hi Ajat, It was not clear to me why you do not use 'Extending the existing User model' approach, described here . For me it works very well in almost all cases. And if you go that way then

Aggregating a query while selecting more than grouped by ...

2017-05-13 Thread Bernd Wechner
I'm bamboozled by Django aggregation: https://docs.djangoproject.com/en/1.11/topics/db/aggregation/ I'd like to add a little to the example they present to clarify my problem (keeping it in familiar territory with regards to the documentation): from django.db import models class

Need help in Django User Model customization and authentication

2017-05-13 Thread Ajat Prabha
Hello everyone, I'm creating a payment gateway to make transactions on my college campus go cashless. It can be used to pay library dues, stationary charges, etc. The user will add money to a central account and then he/she can use that money virtually. I chose Django because of its security.

Re: what kind of question i can ask here?

2017-05-13 Thread ludovic coues
This group is for answering questions from users of django like yourself. There is another group specifically for bugs and improvement 2017-05-13 14:49 GMT+02:00 shahab emami : > hello > > when i get a problem in my code i search for it in google for an hour if i > couldn't

what kind of question i can ask here?

2017-05-13 Thread shahab emami
hello when i get a problem in my code i search for it in google for an hour if i couldn't find the answer then i ask my question here. is this good? I mean can i ask my programming questions here? or this group is just for bugs and stuff like that? thanks -- You received this message because

Re: TemplateDoesNotExist for django-registration (but it does)

2017-05-13 Thread farah_chaaban
Hello i have the same problem. please help me -- 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,