-
assume the following set of models:
```
class Owner(models.Model):
restaurants = models.ManyToManyField('Restaurant')
class Restaurant(models.Model):
visitors = models.ManyToManyField('Visitor'…
-
Para que seja possível testar funcionalidades de persistência de dados é necessário criar keywords do robot framework para criação de stubs do model mommy.
-
I have a reusable Django app with a custom field. What I'd like to do is something like:
```
class MyField(models.Field):
pass
MyField._mommy_generator = some_generator
```
So that users of the…
-
Why was this even removed, how is this any different than diona or station built MoMMIes/Borgs.
Really now.
ghost updated
8 years ago
-
would be nice if the option to pass a kwarg, perhaps `signals_disabled=True`, existed when making instances, either via `make_recipe` or just `make`. If True, signal handlers (pre_save, post_save, etc…
-
Sometimes, it is desirable to do save some extra data in signals. As an example, for a User, on save one might want to create a token for authentication. Currently one has to explicitly create a token…
-
## What is the problem?
If a mommy simple_animal and a daddy simple_animal see each other before round start they can and will produce dozens of babies before the round starts, ignoring child limits …
-
The default generator for CharFields and other strings only generates values containing ASCII characters.
This hides bugs when handling unicode values e.g. when failing to encode/decode UTF-8 correct…
-
First steps toward accomplishing #4. 😄
-
test.py:
```
def test_post_correct(self):
```
Ser helst at noen som skal være med på å vedlikeholde/vidreutvikle appen lager testen, slik at de kan sette seg inn i hvordan den fungerer.