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

admin panel for blogs not working #116

Closed
miguelgfierro opened this issue Feb 7, 2022 · 0 comments · Fixed by #117
Closed

admin panel for blogs not working #116

miguelgfierro opened this issue Feb 7, 2022 · 0 comments · Fixed by #117

Comments

@miguelgfierro
Copy link
Owner

https://miguelgfierro.com/admin/blog/post/ gets a 500 error

<html>
<body>


Request Method: | GET
-- | --
http://localhost:8000/admin/blog/post/
1.8.19
TypeError
can't compare datetime.datetime to datetime.date
C:\run3x\sciblog\blog\models.py in was_published_recently, line 43
<!--EndFragment-->
</body>
</html>

In template ...\envs\py35\lib\site-packages\django\contrib\admin\templates\admin\change_list.html, error at line 91
miguelgfierro added a commit that referenced this issue Feb 7, 2022
miguelgfierro added a commit that referenced this issue Feb 7, 2022
fix #116 admin panel for blogs not working
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

Successfully merging a pull request may close this issue.

1 participant