Re: changing how an admin form field is displayed (float to datetime)

2009-10-26 Thread Paul Smith
Paul Smith catugmt.com> writes: > > I’ve been trying to a modify an admin form so I have a slightly different > user interface compared to the database model. > > The main problem is this; in the database model I store a start and end > time as timestamps (a float hold

changing how an admin form field is displayed (float to datetime)

2009-10-25 Thread Paul Smith
I've been trying to a modify an admin form so I have a slightly different user interface compared to the database model. The main problem is this; in the database model I store a start and end time as timestamps (a float holding seconds since 1/1/1970). But when the user wants to edit the times I

Re: select_related() does not span apps?

2007-04-24 Thread Paul Smith
My mistake -- I had unintentionally set 'null=True' in the ForeignKey definition. -Paul On Apr 24, 1:08 pm, Paul Smith <[EMAIL PROTECTED]> wrote: > I have a model defined with a ForeignKey that points to another model > in a different installed app. select_related() d

select_related() does not span apps?

2007-04-24 Thread Paul Smith
I have a model defined with a ForeignKey that points to another model in a different installed app. select_related() does not seem to follow the relationship and retrieve the additional object data in a single database query with additional join statements. (I inspected the 'sql' item in the appro

Re: Ordering flatpages?

2006-12-24 Thread Paul Smith
On Dec 22, 7:57 am, "David Blewett" <[EMAIL PROTECTED]> wrote: Paul Smith wrote: > Another thing on my mind is > what would happen if my flatpages start getting all hierarchical on > me... has anyone had to figure out how to let users manage objects with > somet

Ordering flatpages?

2006-12-21 Thread Paul Smith
So I'm working on this site in Django, and turns out there's quite a bit of static flatpages-style content involved. I've extended flatpages (well, started with flatpages and built my own), added rich text editing and so on, and I'm building some navigation dynamically by looking at the '

Re: ./manage.py dbdump > mydata.sql

2006-11-17 Thread Paul Smith
That's an awesome idea. Thank you for working on that, Russ... be sure and post to the list when you're ready to go. --P -- Paul Smith [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: How much do you cost?

2006-11-11 Thread Paul Smith
eelancer or agency. Bad design can make a waste of your good engineering and vice-versa. Anyway, HTH.--PPS: IOW, double your budget and add a zero. :) --Paul Smith[EMAIL PROTECTED] --~--~-~--~~~---~--~~  You received this message because you are subscribed to the Google Groups

Re: Off Topic: Mac software for database design?

2006-08-06 Thread Paul Smith
On Aug 5, 2006, at 9:26 PM, Rob Hudson wrote: > > Thanks everyone for the replies. I tried CocoaMySQL but will have to > try the others. MySQL Workbench looks promising since it can give you > a diagram of your schema. I'll have to play with some of the > diagraming tools mentioned. Apprecia

Re: Unhappy, reinventing

2006-05-25 Thread Paul Smith
tirely prime-time, it's closer to the patterns/ideas you described in your article. Cool ideas in there. Take a look: http://www.plope.com/software/meld3 --P -- Paul Smith [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you

Database API

2006-03-01 Thread Paul Smith
different apps. --P Paul Smith [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubsc

Re: mod_python Segmentation fault importing django.utils.feedgenerator.py - with fix

2006-02-16 Thread Paul Smith
te Apache instances running side-by-side to get around the mod_php problem. Does anybody know of a better solution than that, short of re-compiling PHP? Or which versions, distros, etc., this issue pops up in? Thanks, --P Paul Smith [EMAIL PROTECTED] --~--~-~--~~