Re: Is AJAX Alone Reason to Use TG?`

2006-08-02 Thread Jeremy Jones
Frommy experience with TG and Django, which the TG side may be a bit dated, the only upper hand that TG may have is that 1) TG includes MochiKit and 2) in TG, you just change a decorator to get a jsonified object from a controller rather than HTML. As others have chimed in, including MochiKit is

Re: Any good Python book recommendations?

2006-07-23 Thread Jeremy Jones
On Sun, 23 Jul 2006 17:07:31 +0900 Sean Schertell <[EMAIL PROTECTED]> wrote: > > Thanks all, I'm leaning towards "Beginning Python: From Novice to > Professional". The Amazon reviews sound right up my alley. Anyone > had any experience with this one? > > Sean > I was the tech editor for

one to one relationship and file upload issue

2006-06-08 Thread Jeremy Jones
I'm having two issues within the same app. First, maybe I just got a bad batch of crack, but I could've sworn things were working differently the other day. I have one model class (Podcast) that has a one to one relationship with another (Post). I could've sworn that the other day, when I went

Re: Slow initial startup on Django project

2006-04-22 Thread Jeremy Jones
On Fri, 21 Apr 2006 08:35:44 -0700 "arthur debert" <[EMAIL PROTECTED]> wrote: > > Oh My! > > my bad. yes that should read.. > " are not going to achieve *great* performance on DREAMHOST." > > I just meant to say that dreamhost has nice price / feature ration but > it's just a little

Re: Ecommerce & Django

2006-04-14 Thread Jeremy Jones
On Sat, 15 Apr 2006 05:45:20 +1200 Michael <[EMAIL PROTECTED]> wrote: > OK, OK, OK > > finally got working trac > http://dshop.mine.nu/trac > > soon will put sources in svn > I setup a table of the requirements I batted around earlier. I put in a "manditoriness"

Re: Ecommerce & Django

2006-04-14 Thread Jeremy Jones
On Fri, 14 Apr 2006 15:22:53 - "arthur debert" <[EMAIL PROTECTED]> wrote: > > another thing that would be nice is a "downloadable type" of product > where the order relates to a download. of course, this could get > pretty complex if you add in things like serial numbers, versions, >

Re: Ecommerce & Django

2006-04-14 Thread Jeremy Jones
On Fri, 14 Apr 2006 22:15:31 +1200 Michael <[EMAIL PROTECTED]> wrote: > http://dshop.mine.nu/shop > > working now to setup trac > > > > Michael > > > > I just put up what I've coded so far on http://jeremy.pitterpatprints.com/ I just created that subdomain, so it's not in the DNS for work

Re: Ecommerce & Django

2006-04-14 Thread Jeremy Jones
On Fri, 14 Apr 2006 15:26:49 +0200 "Brice Carpentier" <[EMAIL PROTECTED]> wrote: > > On 4/13/06, arthur debert <[EMAIL PROTECTED]> wrote: > wasn't there any Jazz artist that was known to be "too commercial" ? > I think that would suit the project just fine, wouldn't it ? > Googling for '"too

Re: Ecommerce & Django

2006-04-14 Thread Jeremy Jones
On Fri, 14 Apr 2006 22:15:31 +1200 Michael <[EMAIL PROTECTED]> wrote: > http://dshop.mine.nu/shop > > working now to setup trac > > > > Michael > > Looking forward to working on this. Here's a rough sketch of what I was planning on building (and have actually begun work on). I don't know

Re: Ecommerce & Django

2006-04-14 Thread Jeremy Jones
On Fri, 14 Apr 2006 15:00:03 +0530 Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Thursday 13 Apr 2006 11:12 pm, Jeremy Jones wrote: > > What is it with wives and websites?  Anybody out there (who's a > > male married to a female) not building a website for his wif

Re: Ecommerce & Django

2006-04-13 Thread Jeremy Jones
On Thu, 13 Apr 2006 14:02:26 -0500 (CDT) "Chris Moffitt" <[EMAIL PROTECTED]> wrote: > Any brilliant ideas? DjangoCart, > DjangoCommerce, DjangoSell, PyCommerce, PyCart, > HusbandsSupportingWivesShops? > DesperateCodeHusbands? No, wait...that just sounds bad - jmj

Re: Ecommerce & Django

2006-04-13 Thread Jeremy Jones
On Thu, 13 Apr 2006 14:21:54 - "arthur debert" <[EMAIL PROTECTED]> wrote: > > hi folks... > am I all for it. > I've got no experience on e-commerce but there's a few things (I > guess) I may help with... I guess this would be agreat project... > > I just suppose some "liberal licensing"

information about django on dreamhost

2006-03-17 Thread Jeremy Jones
Kevin Dangoor, author of TurboGears, just posted on the TG list about a conversation he just had with the folks over at Dreamhost. Sounds like they're recommending people to not run TurboGears on their servers, and this would presumably apply to Django as well. Here's a link to his post:

Re: Advice on developing with django for a team of 10+

2006-03-17 Thread Jeremy Jones
On Thu, 16 Mar 2006 23:53:56 -0300 "Julio Nobrega" <[EMAIL PROTECTED]> wrote: > > Hey tone, > > Eric provided a good explanation of what's like working with svn. I > would like to comment a little on point number 3. > > Having everything on svn helps us on deployment too. Most software

magic-removal: from django.parts.media.photos import get_thumbnail_url

2006-03-15 Thread Jeremy Jones
Sorry for cross-posting, but I thought this would be relevant for both groups. I'm reworking a simple store with the magic removal branch and running into a bit of a snag. When I create a record in the admin interface for a model which has an ImageField, I get an import error in admin_list.py on

setting up a db in magic-removal branch

2006-03-13 Thread Jeremy Jones
In 0.9.1, I would run python manage.py init; python manage.py install {{insert desired model here}}. In magic-removal, there appears to no longer be an init argument to manage.py. There is also a new syncdb argument. Is the proper way to setup your db in magic removal to call manage.py with

Re: Attn. Dreamhost users

2006-03-08 Thread Jeremy Jones
On Wed, 8 Mar 2006 19:43:21 +0530 "Amit Upadhyay" <[EMAIL PROTECTED]> wrote: > On 3/8/06, PythonistL <[EMAIL PROTECTED]> wrote: > > > > But how can I kill ALL of them? > > One by one something like: > > kill processNumber > > ? > > > pkill is your friend. > > I use "pkill -9 python2.4" on

putting a database object in a session

2006-03-05 Thread Jeremy Jones
Is it bad form to put a database object in a session variable? It really just feels wrong, but it works. Typically, I would just put the object's ID in a session variable and retrieve the object when I next needed it, but I accidentally forgot to do ``request.session["this_thing"] = obj.id``

Re: django problem at dreamhost

2006-02-27 Thread Jeremy Jones
On Sat, 25 Feb 2006 15:32:42 -0800 "Bryant" <[EMAIL PROTECTED]> wrote: > > I have what I think is a similar problem - first time posting here so > please, be gentle. > > I followed the instructions on the Django on Dreamhost wiki and > correctly installed django. Everything seems to work

Re: django problem at dreamhost

2006-02-19 Thread Jeremy Jones
On Mon, 20 Feb 2006 02:37:20 +0530 "Amit Upadhyay" <[EMAIL PROTECTED]> wrote: > Hi, > > I am facing a weird issue with dream host, day before yesterday my > django application stopped serving requests, I have not done > anything, and its been working since about a month, and now it waits > for

populating many to many relationship data in a changemanipulator and filtering m2m data out

2006-02-16 Thread Jeremy Jones
Do ChangeManipulators not automatically populate many-to-many relationship data? Both the AddManipulator and the ChangeManipulator put in a select list of the possible related data, but the ChangeManipulator doesn't select which ones are actually related. The admin interface shows related data

Re: Dreamhost, Django and MySQL server connection

2006-02-14 Thread Jeremy Jones
On Mon, 13 Feb 2006 11:12:27 -0800 "Edgars Jekabsons" <[EMAIL PROTECTED]> wrote: > > Does anyone else who uses Dreamhost has problems with MySQL connection > going away? > > The project I suggested hosting there is not even inproduction yet, > but we get MySQL server errorsa lot (a few

seemingly spurious "Unknown table 'store_itemgroups' in order clause" error message in admin

2006-01-29 Thread Jeremy Jones
I have the following class as one of my model classes: class OrderDetail(meta.Model): item_group = meta.OneToOneField(itemgroups.ItemGroup) parents_names = meta.CharField(maxlength=100) birth_date = meta.CharField(maxlength=100) birth_time = meta.CharField(maxlength=100)

Re: one to many confusion

2006-01-29 Thread Jeremy Jones
Adrian Holovaty wrote: On 1/29/06, Jeremy Jones <[EMAIL PROTECTED]> wrote: Nevermind. Apparently, my reference to a class attribute in my __repr__ was messing stuff up. I guess you can't do that You can definitely reference class attributes in __repr__() -- but you need

django on dreamhost

2006-01-18 Thread Jeremy Jones
I already have a Dreamhost account and am looking into writing an app using Django. I was wondering what the consensus is regarding running a Django-powered app on Dreamhost (presumably using fastcgi). Does it mostly work most of the time? Any unreasonable amount of quirkiness? Any