good pratices to write many lines on database

2017-01-04 Thread Bruno Barbosa
Hello everybody! I have an application that receives about 1000 POST requests per second. On each request I writte a line on my database table. On this scenario my database can shutdown during execution. Is it a good pratice to store these data on array in cache (redis) and on each minute through

Re: New Django User

2016-04-07 Thread Bruno Barbosa
Hello Chen, welcome to Django community! I think you can start with Django Tutorial: https://docs.djangoproject.com/en/1.9/intro/tutorial01/ Good luck! -- Bruno Barbosa Web Developer *brunobarbosa.com.br <http://brunobarbosa.com.br>* On Thu, Apr 7, 2016 at 6:29 AM, Chen wrote: > I

Re: Error running Django tutorial

2016-03-19 Thread Bruno Barbosa
Ruth, Show me the code! How is your urls.py? and the views.py? paste your code in https://gist.github.com/ and reply this email. -- Bruno Barbosa Web Developer *brunobarbosa.com.br <http://brunobarbosa.com.br>* On Thu, Mar 17, 2016 at 3:50 PM, Ruth wrote: > Hi, > I am gett

Re: unhashable type: 'dict'

2016-03-15 Thread Bruno Barbosa
you forgot the function name auth_views.logout as a second parameter as mentioned above. try it: url(r'^logout/$', *auth_views.logout*, {'next_page': 'boardgames_home'}, name='boardgames_logout'), -- Bruno Barbosa Web Developer *brunobarbosa.com.br <h

Re: Django Hello

2016-03-04 Thread Bruno Barbosa
But these tutorials are online.. you don't need download it.. -- Bruno Barbosa Web Developer *brunobarbosa.com.br <http://brunobarbosa.com.br>* On Fri, Mar 4, 2016 at 5:57 PM, wrote: > I have been seeing it but I just have acces https://www.djangoproject.com/ > and t

Re: Django Hello

2016-03-04 Thread Bruno Barbosa
I think that a good start point is the django official website https://www.djangoproject.com/ and your intro tutorial: https://docs.djangoproject.com/en/1.9/intro/ Also, you can see the Django spanish site: http://django.es/ -- Bruno Barbosa Web Developer On Fri, Mar 4, 2016 at 4:25 PM, wrote

Re: Admin page missing icons

2016-03-04 Thread Bruno Barbosa
sorry, the correct command is: python manage.py collectstatic -- Bruno Barbosa Web Developer On Fri, Mar 4, 2016 at 5:09 PM, Bruno Barbosa wrote: > Are you running django with DEBUG=False? > ​​ > Try run python.py manage.py collectstatic then reload page. > > -- > Bruno Barbo

Re: Admin page missing icons

2016-03-04 Thread Bruno Barbosa
Are you running django with DEBUG=False? ​​ Try run python.py manage.py collectstatic then reload page. -- Bruno Barbosa Web Developer *brunobarbosa.com.br <http://brunobarbosa.com.br>* On Fri, Mar 4, 2016 at 4:13 PM, wrote: > In your browser enable "network inspector" a