Re: Real time and Django - approaches

2015-02-21 Thread Aaron Reabow
ks really well. > > Best Regards > > On Fri, Feb 20, 2015 at 6:37 AM, Aaron Reabow <rea...@gmail.com > > wrote: > >> Hi. >> >> I wanted to see what the Django community thought about realtime circa >> 2015. >> >> My impression (and I cou

Real time and Django - approaches

2015-02-20 Thread Aaron Reabow
Hi. I wanted to see what the Django community thought about realtime circa 2015. My impression (and I could be very wrong) is that if you want real time, you should build your own stack up from scratch. There are frameworks - like swampdragon/socketio - that promise to do the hard yards for

Re: ajax philosophy

2015-02-12 Thread Aaron Reabow
o have an API with its own > routes and views. > > I suggest you take a look at tastypie or DRF > > On Thu, Feb 12, 2015 at 10:17 AM, Aaron Reabow <rea...@gmail.com > > wrote: > >> I would like to separate out my ajax requests into their own views (one >> per p

ajax philosophy

2015-02-12 Thread Aaron Reabow
I would like to separate out my ajax requests into their own views (one per page, is what I am thinking) This allows me to keep a very generic base view that applies to multiple pages. This have a number of advantages for me, such as building a bullet proof view that never gives any trouble

Re: dashboard for user profile

2015-01-03 Thread Aaron Reabow
Did you ever find anything like this? On Friday, 13 July 2012 03:57:45 UTC+2, psychok7 wrote: > > i there, > i am trying to write a dashboard page to present after user login. i have > been searching google and only found *django-admin-tools . won*dering if > there is something like that for a

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-16 Thread Aaron Reabow
Work on his site (yes) -- 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

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-15 Thread Aaron Reabow
the thing i am trying to figure out is how this works with my existing setup. I get that you need to install redis. but how does the rest of the stack change mine is through the good people at webfaction: apache tomcat nginx (static) postgres python2.7 django1,6 html/css/js how much of this

Re: Comments in real time

2014-08-27 Thread Aaron Reabow
thank you for the responses, I will have a go at each. I wonder if the angular and websockets approaches could compliment each other... On Friday, 22 August 2014 20:52:26 UTC+2, Julo Waks wrote: > > If you need to save the comments, take a look to django-angular. > Its an integration of

Comments in real time

2014-08-20 Thread Aaron Reabow
Hi all, I use a proprietary application that let people on multiple browsers comment. In real time their comments are displayed for everyone to see. What is quite nice, is that you can then order and group these comments. I have looked through the Django apps, but am unsure if any of them

Re: Simple History - Field Change

2014-07-04 Thread Aaron Reabow
et on. > > Cal > > > On Fri, Jul 4, 2014 at 4:47 PM, Aaron Reabow <rea...@gmail.com > > wrote: > >> Environment: >> >> >> Request Method: POST >> Request URL: upon request :) >> >> Django Version: 1.6.2 >> Python

Re: Simple History - Field Change

2014-07-04 Thread Aaron Reabow
.reraise(dj_exc_type, dj_exc_value, traceback) File "/home/metadata/webapps/greenhouse/lib/python2.7/django/db/backends/util.py" in execute 53. return self.cursor.execute(sql, params) Exception Type: DataError at /leads Exception Value: smallint out of range On

Simple History - Field Change

2014-07-04 Thread Aaron Reabow
Hi all, I am getting this error on a modelform smallint out of range But the form is actually submitting just fine and being stored in the DB. I used to have a positive small int, but have changed it (dropped the offending table, resync'ed, restarted the server...) I have history =

Re: Using session data to populate multiple forms

2014-06-25 Thread Aaron Reabow
08:58:05 UTC+1, Aaron Reabow wrote: >> >> Perhaps I should be more specific. >> >> How do i populate some fields in a table from a form, and other fields >> from session variables in the view (or the template or the model if that >> was more appropriate) >

Re: Using session data to populate multiple forms

2014-06-25 Thread Aaron Reabow
Perhaps I should be more specific. How do i populate some fields in a table from a form, and other fields from session variables in the view (or the template or the model if that was more appropriate) many thanks, aaron On Tuesday, 24 June 2014 18:21:02 UTC+2, Aaron Reabow wrote: > &

Re: Django Admin Login - Redirecting back to login page

2014-06-24 Thread Aaron Reabow
also try: LOGIN_REDIRECT_URL On Tuesday, 24 June 2014 16:55:21 UTC+2, Sergiy Khohlov wrote: > > Hello, > > Could you please paste your LOGIN_URL from your settings.py > > > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Tue, Jun 24, 2014 at 5:40 PM, Діма Ревуцький

Re: Using session data to populate multiple forms

2014-06-24 Thread Aaron Reabow
that makes some sense. warm regards, Aaron On Tuesday, 24 June 2014 18:04:16 UTC+2, Daniel Roseman wrote: > > On Tuesday, 24 June 2014 14:30:48 UTC+1, Aaron Reabow wrote: >> >> Hi All, >> >> I have been scratching around this for a bit now. >> >> Sometime

Using session data to populate multiple forms

2014-06-24 Thread Aaron Reabow
Hi All, I have been scratching around this for a bit now. Sometimes I *don't want people to have to register* on my site, but I do want to *capture some information* about them and *reuse it across multiple mini questionnaires/forms*. I can happily set and get a session variable using the