Re: Chatbot using Django Channels. Persist a python object in a scope?

2018-06-09 Thread Ryan Nowakowski
I've never used pytransitions. Typically persistent state in Django is stored in the model instead of objects in memory. This allows you to easily scale and also recover state if your app process stops. On June 9, 2018 1:01:14 AM CDT, Rithwik Cherian wrote: >Hello all, > >Very excited to discov

Re: Objects from webservices

2018-06-09 Thread Ryan Nowakowski
For rest based web services take a look at Django rest framework. On June 6, 2018 2:47:56 AM CDT, gypsymauro wrote: >Hi, > >I feel very good with django and its ORM, and for this reason I >wondering >if it's possible to "attach" a model to a webservice (SOAP or REST) >and writing some code to lo

Re: Trouble adding users through admin site

2018-06-09 Thread Daniel Germano Travieso
Hello Dylan You will never see a user password as a raw text on django (only maybe if you intercept the request the user creation form sent to the django view that handles the creation) User passwords are stored as their appropriate hash, and you can just use the add user admin page to add a new

Re: Redirect Loops and 404 with Django Channels and runserver command

2018-06-09 Thread Andrew Godwin
Hi Justin, I'm going to reply to you on the ticket you opened at https://github.com/django/channels/issues/1075 with the same question :) Andrew On Fri, Jun 8, 2018 at 7:56 AM Justin Lee wrote: > I was just trying to integrate channels into an existing django/DRF > project and I have been runn

Trouble adding users through admin site

2018-06-09 Thread Dylan Moreland
Hello! I've created a Django app for my company to track employee infractions (missed punch, late to a shift, etc.), but I'm at a roadblock in terms of adding users. Currently, the only way I can add users is through the command line. I'd much rather be able to add users through the django.con

Re: Performance comparison for several Database Types?

2018-06-09 Thread Jason
the answer is always, "it depends" https://www.digitalocean.com/community/tutorials/sqlite-vs-mysql-vs-postgresql-a-comparison-of-relational-database-management-systems the general feeling is unless theres something you absolutely need that it doesn't have, postgres really should be your starti

Re: Performance comparison for several Database Types?

2018-06-09 Thread dononyx
On Saturday, June 9, 2018 at 1:52:49 AM UTC-7, Erik Rull wrote: > > Hi all, > > I'm currently using for a more or less "small" project Django with an > SQLite Database (was the easiest starting point for me). > If I would switch to another database, how would the performance behave? > Will it

Chatbot using Django Channels. Persist a python object in a scope?

2018-06-09 Thread Rithwik Cherian
Hello all, Very excited to discover the Channels project. I think it could be exactly what I was looking for. I am going through the documentation and seeing how it works right now, but I would really appreciate if someone could tell me if it will help me do what I want. I am making a chatbot,

Performance comparison for several Database Types?

2018-06-09 Thread Erik Rull
Hi all, I'm currently using for a more or less "small" project Django with an SQLite Database (was the easiest starting point for me). If I would switch to another database, how would the performance behave? Will it be faster or slower and how much? Is there a comparison chart existing between sev