Re: Advice needed: Adaptive/Responsive Images in Django?

2014-11-20 Thread Cal Leeming [iops.io]
It really depends on what your end goal is. tl;dr - the fastest fix for you will probably be to use CloudFlare polish [1] Long answer: Responsive images are fine, but useless on mobile devices if your original image is not mobile optimized (due to bandwidth/speed limitations on most networks,

Re: Alternative to fabric

2014-11-17 Thread Cal Leeming [iops.io]
There isn't really such a thing as a "deployment plugin", there are many aspects to deployment workflow that should be considered. It really depends on how you are intending on deploying your application, if you are dockerizing it then your CI system should be building the images and pushing to a

Re: Using Django with Gulp.js

2014-11-14 Thread Cal Leeming [iops.io]
ll rather > than dumping them all in my main email account (I have over 1GB of email in > this account at the moment from various open source projects). I prefer to > keep my name out of Google as much as possible for privacy reasons. > > > On 13/11/2014 18:40, Cal Leeming [iops.io] w

Re: Using Django with Gulp.js

2014-11-13 Thread Cal Leeming [iops.io]
Personally I use a mixture of Vagrant, Docker, Gulp and makefiles to automate the entire process. You run the gulp process as a backgrounded job, and then the django runserver in the foreground.. of course, this means gulp is then not interactive.. if you want both to be inter, then you have to

Re: Where does django store auth migrations?

2014-11-09 Thread Cal Leeming [iops.io]
Sounds like a bit of a weird edge case, I've had all sorts of problems previously when moving to custom user models from an app with existing migration data. Personally I'd say get rid of the migration data for that specific model and re-initialize, it's just not worth trying to figure out why

Re: Django Instant Messenger Package needed

2014-11-06 Thread Cal Leeming [iops.io]
Depends on what you are trying to do but, you might want to consider a third party product for this; http://www.iron.io/mq Building your own instant messenger system properly is hard, if you can do this directly on the client (via web sockets, HTTP push/pull, flash stream with JS IPC etc) then

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread Cal Leeming [iops.io]
that application level encrypting is better because its > encrypted over a link, and this is why most web apps use the salt method. I > would love to hear more about what your talking about I'm still learning. > > Also whats wrong with my code tho? > > On Wednesday, October 8, 201

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread Cal Leeming [iops.io]
For the record, this approach towards data security is completely wrong. Consider using FDE on your databases, rather than encrypting individual fields. Cal On Wed, Oct 8, 2014 at 11:11 PM, G Z wrote: > so I have a database of information with encrypted customer names. When

Re: hosting django app

2014-08-22 Thread Cal Leeming [iops.io]
Have a look at Heroku too Alternative, your own VPS on DigitalOcean if you have enough in-house devops guys Cal On Fri, Aug 22, 2014 at 9:25 AM, ngangsia akumbo wrote: > my boss uses php to build web apps > > he is n9ot very convince that django can be very cheap in

Re: Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Cal Leeming [iops.io]
, never know when it might come in handy :) Cal On Wed, Aug 20, 2014 at 1:07 AM, Cal Leeming [iops.io] <c...@iops.io> wrote: > > > > On Wed, Aug 20, 2014 at 12:54 AM, Russell Keith-Magee < > russ...@keith-magee.com> wrote: > >> >> On Wed, Aug 20, 20

Re: Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Cal Leeming [iops.io]
On Wed, Aug 20, 2014 at 12:54 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Wed, Aug 20, 2014 at 4:27 AM, Subodh Nijsure > wrote: > >> Hello, >> >> I have application that servers time-series data for 10+ units. This >> data can get big and I don't

Re: Desperatly seeking help with ALLOWED_HOSTS

2014-08-17 Thread Cal Leeming [iops.io]
ate': True, > }, > }, > } > > I removed the {% compress %} tags from my templates for now so I can > disable DEBUG on my "production/demo" server and everything works > great now! > > -Subodh > > On Sun, Aug 17, 2014 at 11:53 AM, Cal Leeming

Re: Desperatly seeking help with ALLOWED_HOSTS

2014-08-17 Thread Cal Leeming [iops.io]
t to > debug... > > -Subodh > > On Sun, Aug 17, 2014 at 11:37 AM, Cal Leeming [iops.io] <c...@iops.io> > wrote: > > Can you please send us the traceback of the error generated? (assuming > there > > is one) > > > > Cal > > > > > > On Sun

Re: using historic changes from django-admin to templates?

2014-08-17 Thread Cal Leeming [iops.io]
Several projects have attempted this, though personally I don't feel any of them are the right solution; https://www.djangopackages.com/grids/g/model-audit/ Django reversion is probably your best bet, and although I don't agree with the approach, it gets the job done;

Re: Desperatly seeking help with ALLOWED_HOSTS

2014-08-17 Thread Cal Leeming [iops.io]
Can you please send us the traceback of the error generated? (assuming there is one) Cal On Sun, Aug 17, 2014 at 7:25 PM, Subodh Nijsure wrote: > I am totally stumped why I can't get my site to work when DEBUG=False. > > I have entered my domain name and IP address

Re: Push like notifications app

2014-08-17 Thread Cal Leeming [iops.io]
That was strange, my email decided to send as I was typing the rest of my reply :X See in-line again. On Sun, Aug 17, 2014 at 3:53 PM, Cal Leeming [iops.io] <c...@iops.io> wrote: > > > Cal > > > On Sun, Aug 17, 2014 at 1:07 PM, Guy Bowden <guy.bow...@gmail.com> wro

Re: Push like notifications app

2014-08-17 Thread Cal Leeming [iops.io]
Cal On Sun, Aug 17, 2014 at 1:07 PM, Guy Bowden wrote: > Hi, > > I'm looking for an app that will allow me to 'push' notifications/messages > to a user / users / groups via the admin system. > > > examples: > show all users a notice about a new feature > show users a

Re: Django frustrations :)

2014-08-16 Thread Cal Leeming [iops.io]
If you're serious about wanting to learn more, then the best thing you can do is learn more about Python itself. Until you understand Python, you won't understand the internals of Django and it's strengths/weaknesses. Have a look at http://learnpythonthehardway.org/ - If you are adventurous,