Re: User data being exposed with mod_wsgi/apache

2011-11-01 Thread Jennifer Bell
problem in the field) c2 = Client() r = c2.get( url ) self.assertEquals( r.status_code, 200 ) self.assertNotContains(r,"Clark Kent") self.assertNotContains(r,"us...@test.com") self.assertNotContains(r,"555-111-")

User data being exposed with mod_wsgi/apache

2011-10-24 Thread Jennifer Bell
On my site, some user data is automatically filled in to a form if a user is logged in by accessing request.user in the view code. On deployment, it seems that if *any* user is logged in, forms requested via another browser will be filled in with their data. The data is not filled in if no user i

Re: automated testing: how to generate human-verifiable views?

2011-01-06 Thread Jennifer Bell
want to do? You can TDD almost everything else in django through TestClient except for the end result of how stuff looks. Jennifer On Jan 4, 6:21 pm, Jennifer Bell wrote: > OK, to elaborate: I have a open source project with consistent pain > points around css and browser testing.  Example

Re: automated testing: how to generate human-verifiable views?

2011-01-04 Thread Jennifer Bell
re you interested in having the ui render and generate a screen shot > for human review? That's how I interpreted your question. If that's > the case, look in to generating a screenshot by leveraging a tool that > generates a png from HTML. > > I am eager to hear what other

automated testing: how to generate human-verifiable views?

2011-01-04 Thread Jennifer Bell
Hi, I'm trying to figure out the best way of doing something I'd like to partially automate staging testing by generating a sequence of human verifiable views, with the goal of making sure my app views/css/ 3rd-party javascript etc. are drawing the way they ought to in more complicated scenari

Admin two-field ordering resorted by table template: way to turn off?

2009-12-09 Thread Jennifer Bell
I would like my objects to be ordered by two (or more) fields when viewed in the admin changelist. However, I noticed that ordering only works for the first field listed. I'm pretty sure this is because the order of the objects given to the template is overridden by the javascript sort in the def