Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

unpublished news shown in list #44

Open
kelvan opened this issue Feb 18, 2015 · 1 comment
Open

unpublished news shown in list #44

kelvan opened this issue Feb 18, 2015 · 1 comment

Comments

@kelvan
Copy link

kelvan commented Feb 18, 2015

If I create a new news with publication_start in the future it's shown in the news list.

I looks like hvad does not use using_translations(), wasn't called in my debuging approaches.
Queryset filter should be correct.

django-cms==3.0.10
django-hvad==1.0.0

@kelvan
Copy link
Author

kelvan commented Feb 19, 2015

maybe it's because I don't use translations.
If I read the django-hvad docs (https://github.com/KristianOellegaard/django-hvad/blob/master/docs/public/queryset.rst) correctly it should be .untranslated() in that case, but not working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant