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

No datetime for posted slips by verification #14

Open
shuttle1987 opened this issue Jul 5, 2019 · 0 comments
Open

No datetime for posted slips by verification #14

shuttle1987 opened this issue Jul 5, 2019 · 0 comments

Comments

@shuttle1987
Copy link
Member

Currently we have the following post

content_type: BlogPost
title: My Third Post!
authors: 
- Alysha
category: software
summary: A short desciption
---

Hello!

And this passes this validator:

class BlogPost(Templated, Content):
	title: str
	authors: list
	posted: datetime
	modified: typing.Union[None, datetime]
	category: str
	tags: list
	template: str = "blog/post.html"
	summary: str
	draft: bool

Which leads to a rendered output like this:

issue with datetime validation

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