Comments (4)
Hey, @GH-newbie !
Checked out everything one more time. Don't see any issues.
Could you please remove your database and clone the project again?
git clone https://github.com/dmaslov/flask-blog.git
cd flask-blog
virtualenv --no-site-packages ./env
source ./env/bin/activate
pip install -r requirements.txt
from flask-blog.
Hi:
Seems ok already, I know where is my wrong:
config.py:
CONNECTION_STRING = "mongodb://'acc':'pwd'@127.0.0.1:27017/"
I added my blog db in the end
CONNECTION_STRING = "mongodb://'acc':'pwd'@127.0.0.1:27017/'dbname'"
so I got error...
Thank you.
ps:But... how to delete a post and a user?
from flask-blog.
:)
from flask-blog.
@GH-newbie
Here is the official tutorial how to deal with mongoDB.
Other useful tutorial with examples
You could use command db.user.drop()
db.post.drop()
Also you could drop your DB again and start from scratch! dbname.dropDatabase()
I recommend to start from scratch
from flask-blog.
Related Issues (14)
- Username is case sensitive HOT 1
- Images failing to appear if being added in short description
- Install problem HOT 17
- python 3 compatibility
- SNIMissingWarning on deploying to heroku
- Tables do not render
- Nav bar search input mobile device
- Adding fields to the form and database
- Error
- Typo in input place HOT 1
- Unable to get it working HOT 2
- Error message in file post.py HOT 5
- <code> tag entities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-blog.