Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UUID to exercise models #110

Closed
rolandgeider opened this issue Dec 23, 2014 · 1 comment
Closed

Add UUID to exercise models #110

rolandgeider opened this issue Dec 23, 2014 · 1 comment
Milestone

Comments

@rolandgeider
Copy link
Member

This will make it easier to keep exercises between installations synchronized (e.g. the "download-exercise-images" command), since neither IDs nor names are unique.

@rolandgeider rolandgeider added this to the 1.6 milestone Dec 23, 2014
@rolandgeider
Copy link
Member Author

Django 1.8 will introduce native UUID fields, but a simple CharField is probably enough for what we want, e.g.:

uuid = models.CharField(verbose_name='UUID',
                        max_length=36,
                        editable=False,
                        default=uuid.uuid4)

rolandgeider added a commit that referenced this issue Mar 8, 2015
This allows to uniquely identify exercises across installations, e.g. to sync
the images or similar tasks.

Fixes #110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant