django-cookie-consent icon indicating copy to clipboard operation
django-cookie-consent copied to clipboard

Integrate with Django's dumpdata command via natural primary/foreign key

Open sergei-maertens opened this issue 1 year ago • 0 comments

Currently, when dumping the configuration as fixtures, PKs are included. This may be problematic to share the same fixtures between different projects, or when moving them between staging -> production.

For this, the natural keys approach should be implemented on the models: https://docs.djangoproject.com/en/4.2/topics/serialization/#natural-keys

sergei-maertens avatar Aug 06 '23 20:08 sergei-maertens