Newforms-admin: querysets for inlines?

2007-09-30 Thread Rob J Goedman
Hi, Studying the new features in the newform admin, querysets give great control over which instances will be shown. I wonder if it is/will be possible to restrict inline fields (on a foreign key) in a similar way? Also, there is a ticket for 'classes': 'collapse' in newforms-admin (

Re: Add/change detail pages will throw an exception, newforms-admin, svn version 6407

2007-09-25 Thread Rob J Goedman
Super, in today's version (r6424) of newforms-admin the 2nd issue has also been resolved! From the ticket trail I'm not sure if this is the final resolution, but it sure works again. Thanks for all the hard work, Rob On Sep 22, 2007, at 11:01 AM, Rob J Goedman wrote: > Hi R

Add/change detail pages will throw an exception, newforms-admin, svn version 6407

2007-09-22 Thread Rob J Goedman
d to add the subseconds or can't read them anymore. Not >>>> sure if >>>> there are more instances >>>> of such a time format. Remove the .nn part to fix it. >> >> FYI - this problem has been fixed in trunk in [6406]. It will be in >

Re: manage.py dumpdata && loaddata -- problem with datetime fields

2007-09-17 Thread Rob J Goedman
, 2007, at 8:06 AM, Russell Keith-Magee wrote: > > On 9/17/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: >> >> This is the same problem as I found earlier and below steps will >> reproduce it and with an empty project (no log_entries etc, just 1 >> superuser) it

Re: Today's newform-admin branch, svn version 6364

2007-09-17 Thread Rob J Goedman
Reverting to 6329 will fix it. Must have gotten introduced during the merge to 6332. Regards, Rob On Sep 17, 2007, at 6:18 AM, AndyB wrote: > On Sep 16, 8:56 pm, Rob J Goedman <[EMAIL PROTECTED]> wrote: >> Hi, >> >> Today's version shows 2 problems, the first pr

Re: manage.py dumpdata && loaddata -- problem with datetime fields

2007-09-17 Thread Rob J Goedman
This is the same problem as I found earlier and below steps will reproduce it and with an empty project (no log_entries etc, just 1 superuser) it is fixed by removing the subseconds. Regards, Rob On Sep 16, 8:56 pm, Rob J Goedman <[EMAIL PROTECTED]> wrote: > Hi, > > Today's

Today's newform-admin branch, svn version 6364

2007-09-16 Thread Rob J Goedman
Hi, Today's version shows 2 problems, the first problem is related to date/time formats in fixtures, the 2nd to at least add forms, e.g. add users. Both using the newform-admin branch. The 1st problem can be created by installing a brand new project, creating an initial_data.json file and

User detail page in brand new project

2007-09-11 Thread Rob J Goedman
Hi, Using today's newform-admin (rev 6098) I consistently get the below exception, even with a brand new project initialized with ./manage syncdb, including a superuser. List page shows User, detail page creates exception. Hadn't tried this in a while so I am not sure if it has been there

Re: Generic login view bug suspection

2007-04-19 Thread Rob J Goedman
n your settings file to match the id of that new object, > because lots of things use that to look up site-specific content. > > The preferred method is simply to edit the default Site object to have > the correct domain name. On Apr 17, 2007, at 10:27 AM, Rob J Goedman wrote: > Hi,

Q on when Site.objects.get_current() can fail

2007-04-17 Thread Rob J Goedman
Hi, In Django version 0.97-pre, rev 5020, I'm adding additional views for end users, all decorated with @login_required. I noticed if I'm not already logged in (by 1st visiting .../admin/), I get below error (reproduced in a python terminal, same problem as in a browser - [17/Apr/2007

Re: Unique_together question

2007-03-12 Thread Rob J Goedman
n 3/11/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: > >> >> Any reason I can't combine these 2 fields to get a valid >> 'isUniqueday_sch' >> in the AddManipulator? Full traceback at the end of the email. >> > > This is a problem already reported. See

Unique_together question

2007-03-11 Thread Rob J Goedman
. Any reason I can't combine these 2 fields to get a valid 'isUniqueday_sch' in the AddManipulator? Full traceback at the end of the email. Thanks, Rob On Mar 9, 2007, at 2:14 PM, Rob J Goedman wrote: > Hi, > > If I upgrade to revision 4693 (or higher) I get below error. > Revisio

Re: Tutorial part 2, Problem with edit_inline

2007-03-09 Thread Rob J Goedman
; On 3/9/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: >> If I upgrade to revision 4693 (or higher) I get below error. >> Revision 4692 >> works fine. > > I need to do some digging to see what's up with that; it's definitely > the changeset, not your code. On

Inline incompatibility/issue?

2007-03-09 Thread Rob J Goedman
Hi, If I upgrade to revision 4693 (or higher) I get below error. Revision 4692 works fine. Any hints? I did start to play with unique_together earlier today when I noticed it, but don't think that's the reason. It's currently (and has been for several months) commented out. Another small

FC5/modpython/Django0.96pre

2007-01-20 Thread Rob J Goedman
Hi, A project, developed on OSX, needs to be moved to FC5, headless. ./ manage.py runserver works fine. But behind Apache 2.2/mod_python I get below error. FC5 does use python 2.4.3 (on OSX I use python2.5). Any hint where I should be looking. If I modify settings so it does not find the

Re: Newbie question

2007-01-13 Thread Rob J Goedman
! Super. On Jan 13, 2007, at 1:37 PM, James Bennett wrote: On 1/13/07, Rob J Goedman <[EMAIL PROTECTED]> wrote: Normally the delays are natural and are controlled via Twisted (TCP and callLater). Above program is stable if I comment out the cpl=list (...) statement, otherwise it grows f

Newbie question

2007-01-13 Thread Rob J Goedman
Hi, We converted an access system written in VB to a Django app. The pure db side and GUI work great. Data is also obtained from control panels that have fingerprint readers attached. So I wrote a separate python program to 'scan' these control panels (embedded linux based) and store it