Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming
On Fri, Jul 29, 2011 at 6:14 PM, Jacob Kaplan-Moss wrote: > Hi Bobby -- > > I'm quite sorry if you took my words as a threat. Such wasn't my > intent -- at all. I'm simply trying to make clear certain community > expectations. You're completely right that banning would be wildly > inappropriate, a

Re: Django for a front end designer

2011-08-04 Thread Cal Leeming
On Wed, Aug 3, 2011 at 9:15 AM, Andre Lopes wrote: > If you want to start with a PHP Framework, consider CodeIgniter. It is > the easier Framework for a starter. > I personally came from CodeIgniter. Trust me, it is a *terrible* framework (in comparison to lightweight PHP frameworks and django).

Re: CSS question

2011-08-22 Thread Cal Leeming
OP - let me know if you resolved your issue. If not, ill show you the standard way of doing it. For the record - vertical align in some usages isnt going to work very nicely cross browser/versions. On Aug 21, 2011 10:47 PM, "Joshua Russo" wrote: > I know this is a bit off topic but I know this pl

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming
Aug 22, 11:18 am, Kejun He wrote: > > Did you install python-mysqldb in your mechine?? > > > > On Mon, Aug 22, 2011 at 3:45 PM, Cal Leeming [Simplicity Media Ltd] < > > > > cal.leem...@simplicitymedialtd.co.uk> wrote: > > > Hold on, i would say this is a

Django/Python remote work opportunity - immediate start

2012-01-09 Thread Cal Leeming
s to avoid duplication!) Cheers *Cal Leeming* Technical Director - Simplicity Media Ltd *P** *Please consider the environment before printing this email. The information contained in this email is confidential and is intended for the use only of the addressee. Any unauthorised dissemination or copyi

RE: Need experts to develop for you? Try Bixly

2011-03-14 Thread Cal Leeming
In regards to your original post, one thing I'd certainly like to see from this, is some example code from your developers. It doesn't need to be anything conclusive, just random snippets of code you guys have written. For a company to say they "specialise" in Django development, but to not have an

Re: Ann: DSE v.3.0.0 Beta #1

2011-06-24 Thread Cal Leeming
letting us know about this. On 24 Jun 2011 06:49, "Thomas Weholt" wrote: > > On Fri, Jun 24, 2011 at 3:54 AM, Russell Keith-Magee > wrote: > > On Fri, Jun 24, 2011 at 9:44 AM, Cal Leeming [Simplicity Media Ltd] > > wrote: > >> > >> > >

Re: Curious int/float/division/math 'gotcha' in py (discussion)

2011-06-29 Thread Cal Leeming
Thanks for explaining this Geoff. My math is somewhat basic, so it's always good to learn new things like this. On 29 Jun 2011 08:00, "Geoff Kuenning" wrote: > > > On Jun 29, 1:37 am, Tom Evans wrote: >> Damn, this was the bit I meant to comment upon - hard and fast rules >> are dangerous. Integr

Re: More than one project using the same database

2011-06-30 Thread Cal Leeming
and now i have to support and maintain that bad code for 5 years) lol. On 30 Jun 2011 16:46, "Cal Leeming [Simplicity Media Ltd]" < cal.leem...@simplicitymedialtd.co.uk> wrote: > On Thu, Jun 30, 2011 at 4:36 PM, Tom Evans wrote: > >> On Thu, Jun 30, 2011 at 4:24 PM, Cal L

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-07 Thread Cal Leeming
To be honest, there is no reason why someone cant make something which they believe will be useful, and use the django-users archive as db filler. If it doesnt catch on in the community, at least you'd learn a bunch of new stuff and get the opportunity to try out new things outside of a typical pro

Re: Inspecting objects

2011-07-12 Thread Cal Leeming
On Tue, Jul 12, 2011 at 6:25 PM, Lukich wrote: > Hi. I have just started diving into Django and this question came up > - is there a way for me to examine all the attribute values of an > object? In Rails there's such a thing as debug statement which spits > out all the details about the object

Re: Preventing race conditions when submitting forms

2014-11-25 Thread Cal Leeming
+1 - conflict resolution is not an easy task, and really depends on your business logic/use case. It's worth mentioning that the approach django-concurrency uses may not be suitable for your use case, and in my opinion implementing this restriction on a per model basis is not the best approach, es

Re: Preventing race conditions when submitting forms

2014-11-26 Thread Cal Leeming
Sadly I have to say "good luck with that" if you're using Django, as the forms library does not support partial form data out of the box, and it's architectural design makes this difficult to achieve. This is a particularly annoying restriction of Django, especially when building REST APIs. I'm pre

Re: Multiple levels of user in django application

2014-11-29 Thread Cal Leeming
I'm not sure if this was one of your requirements, but as you raised the concern of performance I thought it was worth mentioning. Object level permissions in Django will create an additional row for every object you set a permission on, this can have a devastating impact on performance depending

Re: Web and mobile app with Django? Kivy? sth else?

2014-12-02 Thread Cal Leeming
Hi Mariusz, Short answer - Hack something together in the fastest way possible, don't worry about it being clean, tidy or even tested. Because if you do, you'll still be working on this project in 2 years time... Look at using something like PhoneGap [8], just enjoy the experience and ship it :)

Re: Web and mobile app with Django? Kivy? sth else?

2014-12-05 Thread Cal Leeming
complicated since maybe there's no > PhoneGap-type-of-framework for Python? > > > W dniu środa, 3 grudnia 2014 00:56:17 UTC użytkownik Cal Leeming napisał: >> >> Hi Mariusz, >> >> Short answer - Hack something together in the fastest way possible, don't >>

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-06 Thread Cal Leeming
Hi Artie, First, I would strongly recommend reading some of the work by David Mytton at Server Density, he and his team have been using MongoDB extensively for many years and they have shared a lot of their insight [1]. It's also worth mentioning that Postgres has support for JSON field type [2] w

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-10 Thread Cal Leeming
coleifer/peewee [2] https://news.ycombinator.com/item?id=4076834 On Wed, Dec 10, 2014 at 7:17 PM, Artie wrote: > Can you please advise why actually you hate Django ORM and what should be > considered instead of it? > > суббота, 6 декабря 2014 г., 23:18:06 UTC+2 пользователь Cal Leeming > напис

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-12 Thread Cal Leeming
nd making an appropriate choice based on your use case, making sacrifices dependant on your needs etc. [1] https://groups.google.com/forum/#!topic/django-users/pZCk4cFVcSI > Collin > > On Wednesday, December 10, 2014 3:21:07 PM UTC-5, Cal Leeming wrote: >> >> If you're using

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-16 Thread Cal Leeming
s would you look towards as more mature, well > supported, nicely designed solutions? > Which shortcomings were you fighting against, and what do you think the > project should be doing differently? > > Cheers, > > Tom > > On Friday, 12 December 2014 18:05:02 UTC, Cal Le

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

2014-12-16 Thread Cal Leeming
This actually looks like an interesting framework, and I'd like to start off with the good points. The author (Jonas) has very kindly shared his work the community, and I really do applaud the effort he has put into this. SPAs (single page applications) are becoming much more common, and framework

Re: ANN: Django website redesign launched

2014-12-16 Thread Cal Leeming
Personally I really like it. The footer menu contrast is a little bright with the white/light green, however it's worth noting that the color/contrast experience will vary depending on what equipment your using. Typically if a site has been designed on an Apple Thunderbolt/MBP Retina display, then

Re: Devils advocate question

2014-12-16 Thread Cal Leeming
One thing to note, DigitalOcean is truly awesome but it is a no-frills service. You get an API and raw performance at dirt cheap pricing, everything else you have to handle yourself. If you don't have the necessary devops/sysadmin skills, e.g. knowledge of how to recover crashed databases, corrupt

Re: Devils advocate question

2014-12-16 Thread Cal Leeming
$6.95 a month but it's about. I do something random abs > could cost myself a bucket. > > Sayth > > On Wed, 17 Dec 2014 11:14 AM Cal Leeming wrote: > >> One thing to note, DigitalOcean is truly awesome but it is a no-frills >> service. You get an API and raw perfo

Re: ANN: Django website redesign launched

2014-12-17 Thread Cal Leeming
e problems happen. Cal On Wed, Dec 17, 2014 at 4:20 AM, Torsten Bronger < bron...@physik.rwth-aachen.de> wrote: > > Hallöchen! > > Cal Leeming writes: > > > [...] > > > > The footer menu contrast is a little bright with the white/light > > gree

Re: Devils advocate question

2014-12-17 Thread Cal Leeming
On Wed, Dec 17, 2014 at 2:53 AM, Tim Chase wrote: > > On 2014-12-17 00:14, Cal Leeming wrote: > > One thing to note, DigitalOcean is truly awesome but it is a > > no-frills service. You get an API and raw performance at dirt cheap > > pricing, everything else you have to

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

2014-12-17 Thread Cal Leeming
wo questions depends a lot on your code base / project > requirements. > > I would love to hear more about the wonky API though if you wouldn't mind. > > Cheers > > > On Wednesday, December 17, 2014 12:23:52 AM UTC+1, Cal Leeming wrote: >> >> This actually loo

Re: Random row

2014-12-20 Thread Cal Leeming
Somewhat off-topic for django-users, this would have been better placed on StackOverflow. If I understood your question correctly, I think you need to remove the "for row in namesreader" and replace with; namesreader = csv.reader(csvfile, delimiter=' ', quotechar='|') return random.choice(row) O

Re: Random row

2014-12-20 Thread Cal Leeming
Doh sorry, hit return too quickly. return random.choice(namesreader) On Sat, Dec 20, 2014 at 9:42 PM, Cal Leeming wrote: > Somewhat off-topic for django-users, this would have been better placed on > StackOverflow. > > If I understood your question correctly, I think you need t

Re: Bristol (UK) startup seeks awesome Python/Django engineer

2015-01-03 Thread Cal Leeming
Hi all, For what it's worth, I was the lead engineer on this project and can give some assurance that the code is of decent quality, although there are some modules which could be improved. Sadly I had to move onto a different role for personal reasons, but can personally say that Gleem are a dece

Re: Is Django suitable for this purpose?

2015-01-20 Thread Cal Leeming
On Tue, Jan 20, 2015 at 10:43 PM, Avraham Serour wrote: > I'm not sure what kind of answers you expect by asking if django is the > best tool on a django forum... > Actually, OP should expect impartial advice on suitability, as list membership does not automatically mean devout follower. > > I

Re: Django + Bamboo

2015-01-25 Thread Cal Leeming
CircleCI is also worthy of mentioning, I preferred them over Codeship due to flexibility. Cal On Fri, Jan 23, 2015 at 6:46 PM, Daniel França wrote: > I gave up Bamboo and start using codeship, 100 times easiet > > On Fri 23 Jan 2015 at 19:17 Gabriel Patiño wrote: >> >> Daniel, >> >> Did you mak

Re: Smoke tests

2015-01-25 Thread Cal Leeming
Hi Tom, Personally I'm not convinced by the concept of smoke tests in production, if you have a proper development workflow, and your build works in dev, then you should be confident that your build will work in prod. Testing URL endpoints in prod should be part of your devops testing, and kept co

Re: Smoke tests

2015-01-26 Thread Cal Leeming
ndant. > > > And yes, it is probably a buzz word :) I ignored it for a while but when I > heard about it from third different source, I started to digging into it... > > Cheers, >Tom > > UTC+1 Cal Leeming napsal(a): >> >> Hi Tom, >> >> Personally I

Re: Django + Bamboo

2015-01-26 Thread Cal Leeming
x27;t support this at that moment. > > Em Sun Jan 25 2015 at 2:27:00 PM, Cal Leeming escreveu: >> >> CircleCI is also worthy of mentioning, I preferred them over Codeship >> due to flexibility. >> >> Cal >> >> On Fri, Jan 23, 2015 at 6:46 PM, Daniel F

Re: Django + Bamboo

2015-01-26 Thread Cal Leeming
Doh, I thought bitbucket was hg only. *red face* Cal On Mon, Jan 26, 2015 at 6:08 PM, Daniel França wrote: > But it was using git, and I'm not on that project anymore anyway. > > Em Mon Jan 26 2015 at 7:06:54 PM, Cal Leeming escreveu: >> >> I'm almost tempted

Re: Looking for a way to broadcast live video streams. Is it possible with Django ?

2015-01-27 Thread Cal Leeming
This really isn't something Django can do out of the box, but if you're looking to get simple video streams integrated into your site, then perhaps consider using LiveStream embed instead? If you're looking to create your own service, then unless you are a skilled programmer with experience in mul

Re: Chess App

2015-02-16 Thread Cal Leeming
Hello, This should help; https://www.facebook.com/help/110919988996182 As for chess, you can look at; https://pypi.python.org/pypi/python-chess Also, try and use Google in future to answer questions like these, I was able to find this first time by searching for "how to make a facebook app" foll

Re: Recommended monitoring tools for Django

2015-02-22 Thread Cal Leeming
Or just use Pingdom? Unless you're doing some complex checks, I wouldn't recommend writing your own checking scripts, because then you need to worry about deploying that and ensuring its up and running etc.. Checks of checks of checks. Fun :) Cal On Sun, Feb 22, 2015 at 3:43 PM, Larry Martell wr

Re: Django App DB replicas - call for suggestions

2015-02-23 Thread Cal Leeming
>From what I can tell, you want to run a copy of the database on multiple mini devices and have replication between them? If so, this isn't really a good use case for replication, and adds several unnecessary layers of complexity. So lets look at the end goal, you want multiple clients to have read

Re: Global access to request.user

2015-03-27 Thread Cal Leeming
There is a reason that state is passed around from method to method, rather than being stored as a global, because this is the correct way to do things. However, it sounds like the architectural design of your code is flawed, as throwing around the request object indicates that you don't have modu

Re: Global access to request.user

2015-03-27 Thread Cal Leeming
eal ugly when you introduce co-routines and overall makes for much less readable code (imho). Cal [1]: http://nedbatchelder.com/blog/201008/global_django_requests.html [2]: http://en.wikipedia.org/wiki/Single-page_application On Fri, Mar 27, 2015 at 3:30 PM, Thomas Güttler wrote: > >

Re: Global access to request.user

2015-04-01 Thread Cal Leeming
On Wed, Apr 1, 2015 at 9:36 AM, Thomas Güttler wrote: > Am 27.03.2015 um 17:16 schrieb Cal Leeming: >> >> Hmm this all sounds quite dirty :/ >> >> However if you absolutely want to have a global object, you could try >> something like [1], although I don't

Re: Returning JSON object

2015-07-06 Thread Cal Leeming
Also, you need to try and use Google more to answer your own questions :) I googled for "django your object is not serializable" and that page I linked was the first result. Cal On Mon, Jul 6, 2015 at 10:28 AM, Cal Leeming wrote: > You need this; > https://docs.djangoproject.c

Re: Returning JSON object

2015-07-06 Thread Cal Leeming
You need this; https://docs.djangoproject.com/en/1.8/topics/serialization/ Cal On Mon, Jul 6, 2015 at 10:25 AM, ADEWALE ADISA wrote: > Hi guys, > I have a model called Page: > > class Page(models.Model): > category = models.ForeignKey(Category) > title = models.CharField(max_length=128)

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 the

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 us

Re: Using Django with Gulp.js

2014-11-14 Thread Cal Leeming [iops.io]
ng lists and this is the email account I use to catch them all 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 reason

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: 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, if

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, star

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 notice about planned main

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] wrote: > > > Cal > > > On Sun, Aug 17, 2014 at 1:07 PM, Guy Bowden wrote: > >> Hi, >> >> I

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 in the ALLOWED_HOSTS > > I e

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; https://github.com/etianen/dj

Re: Desperatly seeking help with ALLOWED_HOSTS

2014-08-17 Thread Cal Leeming [iops.io]
h > > On Sun, Aug 17, 2014 at 11:37 AM, Cal Leeming [iops.io] > wrote: > > 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 <

Re: Desperatly seeking help with ALLOWED_HOSTS

2014-08-17 Thread Cal Leeming [iops.io]
django.request': { > 'handlers': ['file'], > 'level': 'DEBUG', > 'propagate': True, > }, > }, > } > > I removed the {% compress %} tags from my templates for now so I can > disa

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 want to retrieve 5-6MB worth

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

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

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 hosting as php. > > is the

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 I > use a plain pyt

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

2014-10-08 Thread Cal Leeming [iops.io]
ys 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

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 you

Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Hi, I have created a ModelField called RealIPAddressField. It stores the IP address in integer form, meaning the lookups on large tables are much faster: http://djangosnippets.org/snippets/2493/ @django-developers - Do you think there is any possibility of this getting included into the core?

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Sorry, I should have been a little more specific. I meant faster lookups in terms of database index, such as MySQL with InnoDB. Cal On Mon, Jul 18, 2011 at 4:13 PM, Javier Guerra Giraldez wrote: > On Mon, Jul 18, 2011 at 9:56 AM, Cal Leeming [Simplicity Media Ltd] > wrote: > > I

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
11 at 4:15 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Sorry, I should have been a little more specific. > > I meant faster lookups in terms of database index, such as MySQL with > InnoDB. > > Cal > > > On Mon, Jul 18, 2

Re: syntax

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
Something like this? _str = _('Problem with data of Waybill') _str2 = "%s: %s \n" % ( the_waybill, str( errorObj.code ) ) self.ErrorMessages = "%s %s" % ( _str, _str2) (i split into two parts to make it easier on the eyes) Cal On Mon, Jul 18, 2011 at 5:59 PM, NISA BALAKRISHNAN < snisa.balakrish

Re: syntax

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
. > Problem with data of waybill is a translatable string. > On Jul 18, 9:14 pm, "Cal Leeming [Simplicity Media Ltd]" > wrote: > > Something like this? > > > > _str = _('Problem with data of Waybill') > > _str2 = "%s: %s \n" % ( the_waybill,

Re: syntax

2011-07-18 Thread Cal Leeming [Simplicity Media Ltd]
i do not know if this is a valid >> python assignment statement >> becoz what i want to assign to self.errormessages is Problem with data >> of waybill (-value in- -variable waybill--) : (errorobjcode) . >> Problem with data of waybill is a translatable string. >

Komodo IDE better screenshots (worth reading!)

2011-07-20 Thread Cal Leeming [Simplicity Media Ltd]
For me, looks are extremely important when it comes to an IDE, especially when I spend 12+ hours a day doing nothing but Django/Python development. When looking at Komodo, I *almost* rejected it on the basis that all the available screenshots looks hideous. OSX: http://www.i-cherubini.it/mauro/bl

Some thoughts on a 'backwards incompatible change' (bug!!) found in latest DDT.. wtf?

2011-07-21 Thread Cal Leeming [Simplicity Media Ltd]
https://github.com/django-debug-toolbar/django-debug-toolbar/issues/186 Does anyone else agree with my comments on that ticket, or have I missed something? :X Cal -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Some thoughts on a 'backwards incompatible change' (bug!!) found in latest DDT.. wtf?

2011-07-21 Thread Cal Leeming [Simplicity Media Ltd]
too. Seems a shame to have to fork it, for something so simple. I'm hoping that enough people in here will disagree with his decision, and that he'll change it back to how it should be, based on a majority vote. (I doubt this will happen, lol). > > > Cheers, > AT > > On

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-07-25 Thread Cal Leeming [Simplicity Media Ltd]
Second call for register your attendance on this webcast, if you haven't already done so. Thanks Cal On Tue, Jul 12, 2011 at 2:48 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hi all, > > Great response to this, 45 registered vot

Re: Satchmo, the bloated manatee

2011-07-28 Thread Cal Leeming [Simplicity Media Ltd]
On Thu, Jul 28, 2011 at 7:03 PM, Jacob Kaplan-Moss wrote: > On Thu, Jul 28, 2011 at 7:15 AM, Bobby Roberts > wrote: > > satchmo has become a bloated manatee of a codebase. > > Hey, this isn't OK. I can tell you're frustrated, but insulting other > people's work isn't acceptable around here. You

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming [Simplicity Media Ltd]
gt; On Thu, Jul 28, 2011 at 11:16 AM, Cal Leeming [Simplicity Media Ltd] > wrote: > > Hold on, we are in danger of restricting the freedom of speech on this > > mailing list. > > There is no right to free speech on a mailing list. > > We already restrict what's al

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming [Simplicity Media Ltd]
On Fri, Jul 29, 2011 at 5:16 PM, Bobby Roberts wrote: > opinions on software should never be taken personally and should never > be silenced. I take heat over programming on a daily basis just as I > have for the past 30 years. It's part of the business. Good > programmers take it, grow from i

Re: Satchmo, the bloated manatee

2011-07-29 Thread Cal Leeming [Simplicity Media Ltd]
On Fri, Jul 29, 2011 at 6:14 PM, Jacob Kaplan-Moss wrote: > Hi Bobby -- > > I'm quite sorry if you took my words as a threat. Such wasn't my > intent -- at all. I'm simply trying to make clear certain community > expectations. You're completely right that banning would be wildly > inappropriate, a

Re: about django

2011-07-30 Thread Cal Leeming [Simplicity Media Ltd]
I think @bruno's post should be included in the wiki tbh. Point from: https://code.djangoproject.com/wiki/UsingTheMailingList On Sat, Jul 30, 2011 at 2:41 AM, Harjot Gill wrote: > @ bruno desthuilliers, > Thank you. > > -- > You received this message because you are subscribed to the Google Gr

Re: about django

2011-07-30 Thread Cal Leeming [Simplicity Media Ltd]
Lmao, *adds to the todo list* On Sat, Jul 30, 2011 at 5:08 PM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > > > On 30 juil, 17:07, "Cal Leeming [Simplicity Media Ltd]" > wrote: > > I think @bruno's post should be included in the wiki t

Re: Most stable Linux distribution for Django - Python development

2011-08-01 Thread Cal Leeming [Simplicity Media Ltd]
I've used Debian (lenny+squeeze) for many years now in Python/Django development, and it's served me well. But, you can easily turn a system into a nervous wreck if you don't configure it properly, or use "bleeding edge" without fully knowing whats happening. All distros of Linux are a learning c

Re: Komodo IDE better screenshots (worth reading!)

2011-08-01 Thread Cal Leeming [Simplicity Media Ltd]
quest.action?licenseRequest=PCOSL > . > > Regards, > Thomas > > On Wed, Jul 20, 2011 at 2:25 PM, Cal Leeming [Simplicity Media Ltd] > wrote: > > For me, looks are extremely important when it comes to an IDE, especially > > when I spend 12+ hours a day doing nothing

Re: Most stable Linux distribution for Django - Python development

2011-08-01 Thread Cal Leeming [Simplicity Media Ltd]
On Mon, Aug 1, 2011 at 3:39 PM, Anoop Thomas Mathew wrote: > Hi, > > Thank you all for your suggestions, Especially, Cal and Sam. > I'd go with Debian Squeeze. That seems to be the best choice for now. > +1 on Sams comments. > > To be clear about the question, I'm using linux operating systems

Re: Most stable Linux distribution for Django - Python development

2011-08-01 Thread Cal Leeming [Simplicity Media Ltd]
On Mon, Aug 1, 2011 at 5:43 PM, Doug Ballance wrote: > I'll second the use of something like LXC (new to me) or OpenVZ (what > we use), allowing you to run/test multiple distros at once. If you > want to try debian (or pretty much any linux distro), download a > container skeleton for it and ins

Re: Django for a front end designer

2011-08-02 Thread Cal Leeming [Simplicity Media Ltd]
Difficult to say really. If your main focus is to be a designer, and not to be a full on programmer, then I'd say you are probably best sticking with wordpress. If you don't really have a main focus, or you have some spare time, then defo take some time to learn python+django. I would strongly ad

Re: Django for a front end designer

2011-08-02 Thread Cal Leeming [Simplicity Media Ltd]
On Tue, Aug 2, 2011 at 6:44 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Difficult to say really. > > If your main focus is to be a designer, and not to be a full on programmer, > then I'd say you are probably best sticking wit

Re: Django for a front end designer

2011-08-04 Thread Cal Leeming [Simplicity Media Ltd]
On Wed, Aug 3, 2011 at 9:15 AM, Andre Lopes wrote: > If you want to start with a PHP Framework, consider CodeIgniter. It is > the easier Framework for a starter. > OP: I personally came from CodeIgniter. Trust me, it is a *terrible* framework (in comparison to lightweight PHP frameworks and djan

Re: Inspecting objects

2011-08-11 Thread Cal Leeming [Simplicity Media Ltd]
Temporarily added to this to https://code.djangoproject.com/wiki/UsingTheMailingList Can be split into its own page another day On Wed, Jul 13, 2011 at 12:58 PM, Cal Leeming [Simplicity Media Ltd] wrote: > You know, I think that this subject deserves it own page on the wiki. I'

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-08-11 Thread Cal Leeming [Simplicity Media Ltd]
be able to follow the live session but I can't wait to watch your > record on YT. > > Thx! > > On Mon, Jul 25, 2011 at 2:42 PM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Second call for register your attendance on

Re: 3rd party Apps in Django

2011-08-15 Thread Cal Leeming [Simplicity Media Ltd]
Personally, I don't rely on easy_install/pip to install project specific packages into the OS site-packages. There is absolutely nothing stopping you from doing this on a project level, as I would recommend to do it where ever possible. Although do remember, some packages won't be cross-system co

Re: 3rd party Apps in Django

2011-08-15 Thread Cal Leeming [Simplicity Media Ltd]
+1 Although I haven't personally used virtual-env, from what I've seen this may be worth looking at (seems to be the bridge between users that don't want to have root privs, but do want to manage their python install) On Mon, Aug 15, 2011 at 2:17 PM, william ratcliff < william.ratcl...@gmail.com>

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-08-19 Thread Cal Leeming [Simplicity Media Ltd]
time, it has been a great learning experience (both in code and business). So being able to share that on the webcast will be of some small comfort :) Cal On Thu, Aug 11, 2011 at 6:31 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Last cal

Re: Import problem

2011-08-21 Thread Cal Leeming [Simplicity Media Ltd]
I could be wrong but ,i dont think the word 'global' is allowed anywhere in a file name ,import reference, class name etc.. i could be wrong tho. Try with global2 ?? On Aug 21, 2011 2:10 PM, "Jim" wrote: > Hello folks, > > I am new to both Python and Django. And the story is a little long. So, > p

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Hold on, i would say this is a django-related question (albeit not related to a problem within django). OP - try removing and reinstalling mysqldb on your python install and/or env. On Aug 21, 2011 2:20 PM, "Ramiro Morales" wrote: > On Sun, Aug 21, 2011 at 5:08 AM, Hadassa Golovenshitz wrote: >>

Re: CSS question

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
-- Forwarded message -- From: "Cal Leeming" Date: Aug 22, 2011 8:49 AM Subject: Re: CSS question To: OP - let me know if you resolved your issue. If not, ill show you the standard way of doing it. For the record - vertical align in some usages isnt going to work v

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
11:18 am, Kejun He wrote: > > Did you install python-mysqldb in your mechine?? > > > > On Mon, Aug 22, 2011 at 3:45 PM, Cal Leeming [Simplicity Media Ltd] < > > > > cal.leem...@simplicitymedialtd.co.uk> wrote: > > > Hold on, i would say this is a

Re: on-site deployment

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Hmm, this email is *bordering* on asking the list to do your work for you, especially since it is for an enterprise product, and not FOSS. A lot of the subjects you mentioned have been discussed at length on the mailing list, three of which quite recently. I think you might get a better response

Re: CSS question

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
Sorry to be a party pooper, but inline-block is yet again another one of those big no-nos when it comes to cross browser/version. http://blog.mozilla.com/webdev/2009/02/20/cross-browser-inline-block/ On Mon, Aug 22, 2011 at 7:35 PM, Axel Bock wrote: > Hah! I can answer something on a Django-li

Re: on-site deployment

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
ed to figure out if there were any > strong conventions out there. I didn't answer the questions myself because I > thought I might get answers that challenged my assumptions if I didn't put > anyone on a certain track by explaining what we're doing. > > Having said th

Re: CSS question

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
nd I honestly think IE6&7 support is … not an option, given that ie8 is > around since 2006! > > *if* you have the written requirement … bad. if not, well, I'd go for it. > > of course the table might be wrong. that'd be bad, too :) > > > greets, > axel. &g

Re: Django Development environment

2011-08-22 Thread Cal Leeming [Simplicity Media Ltd]
uWSGI (this is an absolute MUST) supervisord nginx ddt (django debug toolbar) Komodo 6 (with modifications - see http://www.mail-archive.com/django-users@googlegroups.com/msg123666.html ) Debian lenny or squeeze under lxc/cgroups. winscp (for on-the-fly continuous directory sync from windows) virtu

  1   2   3   4   5   6   7   >