dmaslov / flask-blog Goto Github PK
View Code? Open in Web Editor NEWsimple blog engine written on Flask
License: MIT License
simple blog engine written on Flask
License: MIT License
There is a type in "short text" field placeholder in new post form. Saying "Shost text" instead "Short text".
POC >> http://i.imm.io/1kPQM.png
Tables written in markdown do not render. This can be tested with this:
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
Error type: OperationFailure in file: post.py on line: 101
But it seems everything works fine after it's installed.
Need to fix search input on mobile devices. It doesn't belong on one row with others items in navbar because of first
When logging into the demo app "Demo" is not a valid us while "demo" is. Mostly an annoyance on mobile as most touchscreen keyboards auto capitalize the first character typed.
To fix it try (strip is added for the same reason with mobile keyboards and whitespace) :
username.lower().strip()
Hi there, the python_3 branch does not appear to be fully compatible with python 3.
Below is a on the python_3 branch
Traceback (most recent call last):
File "web.py", line 10, in <module>
import post
File "/home/gkuhn/flask-blog/post.py", line 45
except Exception, e:
^
SyntaxError: invalid syntax
Dear Sir:
ใI install this on CentOS 7 and mongodb 3.0x,
when I python web.py, show error message in console:
//
Error type: TypeError in file: post.py on line: 103
Error details: list indices must be integers, not str
//
After I try to create a user account on Web,
it error with "create user user error" and error message in console
//
Error type: TypeError in file: user.py on line: 152
Error details: init() got an unexpected keyword argument 'safe'
//
My config in config.py:
//
CONNECTION_STRING = "mongodb://acc:pwd@localhost:27017/dbname
DATABASE = CONNECTION.dbname
//
How should I fix the problem?
Thank you
On deployment heroku builds it successfully and makes a HTTPS request , but the SNI (Subject Name Indication) extension to TLS is not available on python-2.7.4 This may cause the server to present an incorrect TLS certificate, which can cause validation failures. Thus I changed what was in runtime.txt
to python-2.7.11 but I get Internal Server Error after clean deployment.
The flask-blog is using certifi
, pyopenssl ndg-httpsclient pyasn1
, urllib3[secure]
and cryptography
to enable HTTPS verification. I am lost what might be the problem?
requirements.txt
config.py.txt
Procfile.txt
Hey man, first of all great jobe right here!
as for the issue, if you add an image in the short description it wont gett added correctly..
just letting you know and if i somehow fix this il let you know!
I come again ...Orz
I update post.py, user.py , web.py, then python web.py.
I type the web ip and saw the error message:
TypeError: 'NoneType' object has no attribute 'getitem'
Traceback (most recent call last)
File "/flask-blog/env/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/flask-blog/env/lib/python2.7/site-packages/flask/app.py", line 1825, in wsgi_app
ctx.auto_pop(error)
File "/flask-blog/env/lib/python2.7/site-packages/flask/ctx.py", line 370, in auto_pop
(exc is not None and self.app.preserve_context_on_exception):
File "/flask-blog/env/lib/python2.7/site-packages/flask/app.py", line 559, in preserve_context_on_exception
rv = self.config['PRESERVE_CONTEXT_ON_EXCEPTION']
TypeError: 'NoneType' object has no attribute '__getitem__'
Anything I did wrong?
Awesome project! I would like to add extra fields to the form and to the database. I am familiar with flask-migrate and the use of a model.py, but this project is not using flask-migrate how would I go about adding fields with your project??
web.py:5: DeprecationWarning: 'etree' is deprecated. Use 'xml.etree.ElementTree' instead.
from mdx_github_gists import GitHubGistExtension
web.py:8: DeprecationWarning: 'etree' is deprecated. Use 'xml.etree.ElementTree' instead.
from mdx_code_multiline import MultilineCodeExtension
Traceback (most recent call last):
File "web.py", line 9, in
from werkzeug.contrib.atom import AtomFeed
ModuleNotFoundError: No module named 'werkzeug.contrib'
Need to show symbols instead of entities in 'code' tag
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.