Your message dated Thu, 02 Jun 2016 18:00:21 +0000 with message-id <[email protected]> and subject line Bug#745093: fixed in python-model-mommy 1.2.6-1 has caused the Debian Bug report #745093, regarding python-model-mommy: doesn't support models with post_save hooks to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 745093: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745093 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-model-mommy Version: 1.2-1 Severity: normal Dear Maintainer, I am using model_mommy with models like this: class Operator(models.Model): user = models.OneToOneField(User) class OperatorContract(models.Model): operator = models.ForeignKey(Operator, null=False, blank=False, related_name="contracts") def create_user_profile(sender, instance, created, **kwargs): if created: Operator.objects.create(user=instance) post_save.connect(create_user_profile, sender=User) When I tell mommy mommy.make('myapp.OperatorContract') the test fails with this error: IntegrityError: UNIQUE constraint failed: myapp_operator.user_id I tried to clone from the main github repository [0] but the error was reported as issue #113 [1]. I tried to clone [2] that claimed that the error was fixed, but I experienced it also in that fork. Then, finally, I found [3], cloned it, and it solved the issue (at least for me). If I understood correctly, it seems that the upstream developer didn't want to merge the pull request done by tkrajca [4] (and maybe that's the reason that made limdauto integrate the patch in his fork). For now I'm using the 'right for me' fork [3], cloned and symlinked in my project(s), but surely it isn't the best practice... Kind regards, Mark [0] https://github.com/vandersonmota/model_mommy [1] https://github.com/vandersonmota/model_mommy/issues/113 [2] https://github.com/tkrajca/model_mommy [3] https://github.com/limdauto/model_mommy [4] https://github.com/vandersonmota/model_mommy/pull/121 -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-model-mommy depends on: ii python 2.7.5-5 ii python-django 1.5.4-1 ii python-mock 1.0.1-3 ii python-six 1.6.1-1 python-model-mommy recommends no packages. python-model-mommy suggests no packages. -- no debconf information -- . ''`. | GPG Public Key : 0xCD542422 - Download it from http://is.gd/fOa7Vm : :' : | GPG Fingerprint : 0823 A40D F31B 67A8 5621 AD32 E293 A2EB CD54 2422 `. `'` | Powered by Debian GNU/Linux, http://www.debian.org `- | Try not. Do, or do not. There is no try. - Master Yoda, TESB.
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---Source: python-model-mommy Source-Version: 1.2.6-1 We believe that the bug you reported is fixed in the latest version of python-model-mommy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Edward Betts <[email protected]> (supplier of updated python-model-mommy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 31 May 2016 07:32:57 +0100 Source: python-model-mommy Binary: python-model-mommy python3-model-mommy Architecture: source all Version: 1.2.6-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Edward Betts <[email protected]> Description: python-model-mommy - smart object creation facility for Django python3-model-mommy - smart object creation facility for Django (Python 3 version) Closes: 745093 755657 814781 Changes: python-model-mommy (1.2.6-1) unstable; urgency=medium . * Team upload . [ Edward Betts ] * New upstream release (Closes: #745093, #755657, #814781) * Build Python 3 package * Fix lintian warning: dep5-copyright-license-name-not-unique * Update Standards-Version to 3.9.8 (no changes) * Update to debhelper 9 . [ Ondřej Nový ] * Fixed VCS URL (https) Checksums-Sha1: 70305b49aca531c419956453b7cf27a0875f7229 2235 python-model-mommy_1.2.6-1.dsc 2a5162e765fa615e2507f77c2a0aa2f6d141a6e0 13023 python-model-mommy_1.2.6.orig.tar.gz 8d11b592d31df1222177ed08c79092b7183d41d0 2020 python-model-mommy_1.2.6-1.debian.tar.xz 76ba0da8569253367b552d25fba71c9df8bdb913 13194 python-model-mommy_1.2.6-1_all.deb 22a0a878ba7400a61e6f2f2c0ea06672445c82ff 13302 python3-model-mommy_1.2.6-1_all.deb Checksums-Sha256: b0db0bbc6011919b8ffc629575485dde9b00532283978be187de2be708beca00 2235 python-model-mommy_1.2.6-1.dsc 84e994e91041b657b8d23c5fbbe897b914fac499507f6a21f1ae991c23883396 13023 python-model-mommy_1.2.6.orig.tar.gz 3ed2f21ed8d71efda8671c3b81d95cec90a3706ba89f02e57e9a2d7d3bfc2a2d 2020 python-model-mommy_1.2.6-1.debian.tar.xz 9a229cc0e8ac111ac1793479a9715da44b20e3386cc2906dc01b88f288b8d993 13194 python-model-mommy_1.2.6-1_all.deb d343352b3ce91492e476f2db79f6fac72248dc6de65882d4afba6aa8fd18855c 13302 python3-model-mommy_1.2.6-1_all.deb Files: 07b1d2f918a06c5cc74756df3cdab1a6 2235 python optional python-model-mommy_1.2.6-1.dsc 130c20e086a0abab229a5c296a6993bd 13023 python optional python-model-mommy_1.2.6.orig.tar.gz a4b108027f7ff04c53aa1258ee09a53d 2020 python optional python-model-mommy_1.2.6-1.debian.tar.xz 99060394296a457f78ef5a9acf58f682 13194 python optional python-model-mommy_1.2.6-1_all.deb 8d33589a893ab693d97552e98828854a 13302 python optional python3-model-mommy_1.2.6-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJXTYACAAoJEPNPCXROn13ZVaYP/AsRMI/1oG8iDOuQZGMM6xNl tR5XQwFHqxxSckMzYJn+1OrGAwIcYgW7UzVvhNFtwQc93Fpv/M9vL6uFaEQ48/Ue eDLdcdGvM2CCy2SgYsOXc+wbX9CeV5q9qBEipVn42hdL6deFlKBbIhdf6LzFR5Qw mEAxzYP5MGSEPegfb6MaaCKZRoF/GuCvESFAV49IFQBZamQ2MRqfzgH7GyoWAl54 OmqOmozx5Rc1/++OIFcpUj4PcKbvGqBq24Sa5nh4AYNYTVnhDIpfyKlkI0Vdgo2D RZlFr5g8BbNzKgA0MaUzJ/nXxtf6CGAsiWBoD1lr/0n6i3JniJMl9D09m+LXL6+3 XZZhDVQx5JrsJppkYJ8A56WZcdH3ZeSZnbPujjVYCpNDtEgtUT/soDCxLznjWpgU 8ETsz0lfeIyLYRjUhhIweBS16QlvUNMAf7pkq4TXviEl/l0zV35l9HXeLU56JGwi oZWhcr6//0nY9lA4XwzHDsYqC/Li2JVgVkrsCmMVXJN/eSB7VP+unCYXR9ORW9XT hJOCIpLQ9+K60x3/m1bUJroHVo7h4jYzJz9b4/8POnD9dIdtGJ5ezC83fqRYvZ5X mWD1f55W3O33evHJOt3sNg6ND3s82qQ8mjy/AF8eq/SBz3D8jLQH+82m+alax+Th YbOShgZ4eNV3pbk3uZ5l =Nx5k -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

