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

For spanish models, inherit from english models #65

Open
jinpark opened this issue Jun 16, 2016 · 1 comment
Open

For spanish models, inherit from english models #65

jinpark opened this issue Jun 16, 2016 · 1 comment

Comments

@jinpark
Copy link
Contributor

jinpark commented Jun 16, 2016

AFAIK, there are no real differences between the spanish and english models, so instead of just copy and pasting and then forgetting to update one when the other changes, instead the spanish one can inherit from the engish model

More info https://docs.djangoproject.com/en/1.9/topics/db/models/#model-inheritance
Take a look at the examples there

cc @RachellCalhoun

@RachellCalhoun
Copy link
Collaborator

I think we're gonna scrap this idea. Unless someone wants to tackle it. I tried but got stuck.

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

2 participants