A proposal for syncdb finished

2008-01-03 Thread Chris Green
[2] Someone else running into similar issue (looked like a support request so it got marked as invalid): http://code.djangoproject.com/ticket/6040 [3] Someone having the same idea and redirected towards fixtures http://groups.google.com/group/django-u

Re: Testing/Fixtures/Production/TestRunner

2007-08-30 Thread Chris Green
[ Sorry for long delay, django is one of my "also projects" ] On Aug 11, 11:15 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > As for how to fix this problem, I have two suggestions. > > 1) Are you sure you can't just fix this with a static fixture? Yes, that should work just fine. The

Re: Testing/Fixtures/Production/TestRunner

2007-08-10 Thread Chris Green
On Aug 9, 7:55 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/9/07, Chris Green <[EMAIL PROTECTED]> wrote: > > 1) initial_data has bitten me not realizing it was synced in > > production each time. > There is an argument to be made that i

Testing/Fixtures/Production/TestRunner

2007-08-08 Thread Chris Green
Good day, I'm running into some confusion on the intended way to architect tests/ users/etc. I've been playing with the latest SVN snapshot. I've currently got my test cases setup around: 1) Setup Custom Users, Groups,Permissions that are used for all test cases 2) Change out my authenticatio

Django/CAS/login_url and @permission_required

2007-02-23 Thread Chris Green
Good day, I'm using Brian Beck's CAS authentication/middleware module for authorizing things and it seems to work great when someone follows a URL they are allowed access to. @permission_required("data.view_logs") def get_stuff(): return myview() I've run into a bug that was originally tri

newforms: help on an individual field?

2007-01-05 Thread Chris Green
Often times, I want to attach documentation or examples in the middle of a form, just to make it clear to a user what types of data would be acceptable. Does this use-case automatically push me from using {{form}} and into rendering everything about the form myself or do people think this is gen