unfoldingWord-dev / uwadmin

Code for uW Admin site
MIT License
1 stars 1 forks source link

Languages not populated on obs/create #15

Closed jag3773 closed 9 years ago

paltman commented 9 years ago

@jag3773 Is LangCode empty? If so, call ./manage.py sync_languages.

paltman commented 9 years ago

So one reason they are probably showing in admin but not front end is the checking_level might not be set to 3.

    self.fields["language"].queryset = self.fields["language"].queryset.filter(checking_level=3)
    self.fields["source_text"].queryset = self.fields["source_text"].queryset.filter(checking_level=3)

Is this logic wrong? I might have misinterpreted what you had told me about checking levels on one of our calls.

paltman commented 9 years ago

To update checking levels run:

`./manage.py update_checking_levels`
jag3773 commented 9 years ago

This issue was moved to unfoldingWord-dev/translationDatabaseWeb#96