Re: Base Class Inheritance w/ Model Methods

2009-07-15 Thread Andrew D. Ball
e it inherits all of them from the base class? Yes. > > > > -- ======= Andrew D. Ball ab...@americanri.com Software Engineer American Research Institute, Inc. http://www.americanri.com/ --~--~-~--~~~---~--~~ You receiv

usernames for auth.User are too restrictive for my company's clients

2009-07-15 Thread Andrew D. Ball
ients' own systems. Is there any way to work around this? We have already implemented our own user model, but I would like to use the standard Django one to make integration with apps like Satchmo more feasible. Peace, Andrew -- ======= Andrew D. Ball ab...@americanri.co

aggregation with foreign key fields and the admin interface

2009-03-23 Thread Andrew D. Ball
for your help, Andrew -- === Andrew D. Ball ab...@americanri.com Software Engineer American Research Institute, Inc. http://www.americanri.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

django-announce not listed in django website's community section

2008-09-03 Thread Andrew D. Ball
I don't find django-announce listed at the Django community page here: http://www.djangoproject.com/community/ Any reason why it's not included beside django-users and django-developers? Peace, Andrew -- === Andrew D. Ball [EMAIL PROTECTED] Software Engineer

convenient method of getting related objects with the database API?

2008-08-26 Thread Andrew D. Ball
Is there a convenient way to get all objects related to a given model instance? I want to check for objects that would be deleted with a cascading delete before actually performing a deletion. Peace, Andrew -- === Andrew D. Ball [EMAIL PROTECTED] Software

Re: email not being sent from within unit tests

2008-08-25 Thread Andrew D. Ball
It turns out that this is by design: http://docs.djangoproject.com/en/dev/topics/testing/#e-mail-services This behavior is fine -- even better than the SMTP "black hole" setup that I have. Peace, Andrew On Tue, Aug 19, 2008 at 07:21:52PM -0400, Andrew D. Ball wrote: > I've notic

email not being sent from within unit tests

2008-08-19 Thread Andrew D. Ball
ing emails won't hurt anything. Peace, Andrew -- ======= Andrew D. Ball [EMAIL PROTECTED] Software Engineer American Research Institute, Inc. http://www.americanri.com/ --~--~-~--~~~---~--~~ You received this message because you are

Re: modifying DDL/SQL generated for MySQL to use InnoDB, UTF-8

2008-08-19 Thread Andrew D. Ball
Setting the default character set for the test database is now possible! http://code.djangoproject.com/changeset/5380 Peace, Andrew On Wed, Apr 09, 2008 at 03:02:05PM -0400, Karen Tracey wrote: > On Wed, Apr 9, 2008 at 2:00 PM, Andrew D. Ball <[EMAIL PROTECTED]> wrote: > >

Re: status of unicode support in 0.96?

2008-07-22 Thread Andrew D. Ball
hn > > On Jul 21, 11:09 am, "Andrew D. Ball" <[EMAIL PROTECTED]> wrote: > > Greetings. > > > > I haven't found any good documentation yet on how Django > > supports Unicode in version 0.96.  The following webpage > > has links f

status of unicode support in 0.96?

2008-07-21 Thread Andrew D. Ball
on using Unicode with Django 0.96? Thanks for your help. Peace, Andrew -- === Andrew D. Ball [EMAIL PROTECTED] Software Engineer American Research Institute, Inc. http://www.americanri.com/ --~--~-~--~~~---~--~~ You received this message

complaint about production db when running unit tests

2008-06-18 Thread Andrew D. Ball
using Django 0.96.1, and 'python manage.py test' will complain unless the production database is created and I've run 'manage.py syncdb'. Any idea why? Peace, Andrew -- === Andrew D. Ball [EMAIL PROTECTED] Software Engineer American Research Institute, Inc. http

hijacked python-pgsql page?

2008-05-28 Thread Andrew D. Ball
have liked to have been able to see the docs. Thanks for your help. Andrew -- ======= Andrew D. Ball [EMAIL PROTECTED] Software Engineer American Research Institute, Inc. http://www.americanri.com/ --~--~-~--~~~---~--~~ You received this messa

authenticated sessions that don't depend on http, cookies, etc.

2008-04-29 Thread Andrew D. Ball
Afternoon. I'm working on a Django application that uses XML-RPC to expose all of its logic. I require that for every method expect the user creation/registration method the requestor be authenticated. I'd like to use something like the Django sessions middleware, but I don't want to involve

Re: making a stand-alone program call a django app directly

2008-04-29 Thread Andrew D. Ball
Perfect! Thanks, Andrew On Mon, Apr 28, 2008 at 03:18:45PM -0700, [EMAIL PROTECTED] wrote: > > http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/ > > On Apr 28, 5:10 pm, "Andrew D. Ball" <[EMAIL PROTECTED]> wrote: > > Greetings. > >

making a stand-alone program call a django app directly

2008-04-28 Thread Andrew D. Ball
" % ENVIRONMENT_VARIABLE EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is undefined. Anybody know how to do this? Thanks for your help. Peace, Andrew = Andrew D. Ball <[EMAIL PROTECTED]> software engineer American Research Institute, Inc.

modifying DDL/SQL generated for MySQL to use InnoDB, UTF-8

2008-04-09 Thread Andrew D. Ball
Greetings. Is there a way for me to intruct Django that I want to use InnoDB with MySQL, as well as UTF-8? Currently, our database defaults to MyISAM and some Swedish 8-bit character encoding. I've got a file of SQL statements that change this stuff for each table, but would very much like to