django-seed
django-seed copied to clipboard
:seedling: Seed your Django database with fake data
Cannot handle MPTTModel; I think it's choking on any ForiegnKey to self. WIll confirm
In cases where a model wants a relationship with another model through one-to-one, many-to-one, or many-to-many, currently, it can only use objects that were created in the current execute. It...
This PR resolve Issue https://github.com/Brobin/django-seed/issues/119
The `is_dst` argument to `make_aware()` is deprecated as of Django 5.0: https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-5-0 Running `manage.py seed` on an application with `DateTimeField` in the models results in this: ``` /Users/offby1/projects/worldcon/nomnom/.venv/lib/python3.10/site-packages/django/db/models/fields/__init__.py:1654: RuntimeWarning: DateTimeField...
[issue_115: locale fix](https://github.com/Brobin/django-seed/issues/115)
The locale params seems not working properly: `seeder = Seed.seeder(locale="")` `seeder.faker.locales` returns the default value **['en_US']** and the passed one isn't setted. The image below exemplify it better. 
Hey! Inside the `User` model I have `Skills` relation which is many-to-many filed. It can't be null. So when I'm trying to use Django-seed w/o extra params - it's giving...
Hi Team, I am getting the following error, this is my configuration: class test1(models.Model): dsp_publisher = models.OneToOneField('app.test3', on_delete=models.CASCADE) publisher = models.ForeignKey('app1.test2', on_delete=models.CASCADE) class test2(models.Model): name = models.CharField(max_length=256) dsp_publishers = models.ManyToManyField('app.test3',...
``` from django.utils.translation import gettext_lazy as _ car_type = models.IntegerField(choices=((1, _('Sedan')), (2, _('Roadster'))), null=True, blank=True) ``` Raises exception: `ValueError: Field 'car_type' expected a number but got 'S'.` The 'S' comes...
New fork
Hi I don't think this project doesn't go any further I've created mine. since I work with Django quite a lot and I think seeding Django is important. Let's see...