Re: Downloading error in django-nonrel file

2017-07-21 Thread Jani Tiainen
Hi. Django nonrel was attempt to use orm with non relational databases. It works only partially and development has stalled. (Last commit two years ago). You can use non relational databases just fine - you can't use orm for that. 21.7.2017 15.39 kirjoitti: > Hello Everyone > > only 143 kb is

Re: Use one correspondig database user for each application user

2017-07-21 Thread Jani Tiainen
Hi, I think connection pooling is out of Django scope. Django though reuses db connection. In some early versions Django opened and closed connection per request. 21.7.2017 20.55 "Fred Stluka" kirjoitti: > Answer: Connection pooling > > Sharing a single DB user for all/multiple Web app users

Re: Use one correspondig database user for each application user

2017-07-21 Thread Fred Stluka
Answer:  Connection pooling Sharing a single DB user for all/multiple Web app users allows connection pooling.  Otherwise, you have to create a new DB connection for each HTTP request, or at least for each web app user.  Creating DB connections is relatively slow.

Downloading error in django-nonrel file

2017-07-21 Thread bttest987
Hello Everyone only 143 kb is downloading if use this command from github " pip install https://github.com/django-nonrel/django"; Please can anyone Help me out -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: How to set redirect_field_name in LoginView

2017-07-21 Thread James Schneider
On Jul 14, 2017 4:12 AM, "Polina Ia" wrote: Hello, can someone explain me the setting 'redirect_field_name' in LoginView? I have following in my urls.py: url('^login/$', LoginView.as_view(template_name='accounts/login.html') Now it is redirected by default to 'next'=/accounts/profile/. I'd lik