ok i'll try :)
On Aug 21, 2:55 pm, Russell Keith-Magee <freakboy3...@gmail.com>
wrote:
> On Fri, Aug 21, 2009 at 6:38 PM, dmishe<dmi...@gmail.com> wrote:
>
> > Ok, so i've testing my app, everything was ok, when suddenly postgres
> > started to throw errors (i
well, i got something,
http://code.djangoproject.com/ticket/11761
On Aug 21, 5:02 pm, dmishe <dmi...@gmail.com> wrote:
> ok i'll try :)
>
> On Aug 21, 2:55 pm, Russell Keith-Magee <freakboy3...@gmail.com>
> wrote:
>
> > On Fri, Aug 21, 2009 at 6:38 PM, dmishe<
Ok, so i've testing my app, everything was ok, when suddenly postgres
started to throw errors (in log) like this:
INSERT INTO "auth_permission" ("name", "content_type_id", "codename")
VALUES (E'Can add item_
Can somebody please explain to me how to properly test Postgres DB
errors, particularly IntegrityError. For example i have next test:
class TestSlugs(TestCase):
# This slug must be unique
b = BookPublisher(slug=self.duplicate_slug)
self.assertRaises(IntegrityError, b.save)
FIXED: i had to add a dummy value to initial form_list of FormWizard
so it thinks that it always has two forms :/
On 12 Бер, 00:34, Dmitry Shevchenko wrote:
> Hi,
>
> I have a very strange problem with FormWizard class. I have a two-step
> registration process, first form is
Hey.
I have FielField in my model for user to upload ZIP-archives. I want
to unpack that zip, place some files in some dirs and delete it just
after user uploaded it in admin.
How can i do this? Model's save won't work because it gets called
everytime model is saved regardless of were the file
6 matches
Mail list logo