Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Error somewhere in the tutorial #1

Open
mittenchops opened this issue May 29, 2013 · 1 comment
Open

Error somewhere in the tutorial #1

mittenchops opened this issue May 29, 2013 · 1 comment

Comments

@mittenchops
Copy link

So, first off, awesome tutorial, and thanks for making it!

But there seems to be an error somewhere, and I am having trouble pegging it. It's somewhere between the section ending just before this one:
http://docs.mongodb.org/manual/tutorial/write-a-tumblelog-application-with-flask-mongoengine/#configure-mongoengine-and-flask

and the end of this one:
http://docs.mongodb.org/manual/tutorial/write-a-tumblelog-application-with-flask-mongoengine/#add-templates

I can successfully run:
python manage.py runserver

at the first point, but not at the second.

I posted question on SO, and the commenters also remembered having to change a couple things to get it to work:
http://stackoverflow.com/questions/16799231/replicating-flask-mongodb-gets-internal-server-error

I am not so clever as they were to figure out what.

@mittenchops
Copy link
Author

Some candidates:

Tutorial has:
class Post(db.Document):
versus github has
class Post(db.DynamicDocument):

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