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

Publish is allowed to be blank but not null when creating news post #54

Closed
techlover1 opened this issue Apr 2, 2020 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@techlover1
Copy link
Member

No description provided.

@techlover1 techlover1 added the bug Something isn't working label Apr 2, 2020
@mikemaddem
Copy link
Member

Why should this have any impact? if its published its passed to the front end, if its not published then its not displayed on the front end

@techlover1
Copy link
Member Author

If you leave the publish date blank it will throw a 500, just need to add Blank=False or Null=True to the model so the form and DB are expecting the same thing

techlover1 added a commit that referenced this issue May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants