jstacoder / flask-cms

a minimal CMS built on the pythonic MTV (model / template / view) pattern, implemented using the flask webframework
136 stars 37 forks source link

ImportError: No module named local_settings #2

Closed ondoheer closed 6 years ago

ondoheer commented 10 years ago

Since you .gitignored the file I couldn't start the app

jstacoder commented 10 years ago

That's because local_settings is for password stuff. Add this to local_settings.py

Class LocalConfig: SQLALCHEMY_DATABASE_URI = "sqlite:///tmp.db SECRET_KEY = "your key"

And you should be set, but your right this should be better documented.

Thank You, Kyle Roux | Level 2 Designs Inc. | Developer


(P: 714-888-4557tel:714-888-4557 xtn. 307) (F: 714-455-2115tel:714-455-2115) Email: kyle@Level2Designs.commailto:kyle@level2designs.com 1045 W. Katella Ave.x-apple-data-detectors://5/3 Suitex-apple-data-detectors://5/3 #350 Orange, CA 92867 For emergency support, please call: 714-888-4557tel:714-888-4557 xtn. 2 or email: support@level2designs.commailto:support@level2designs.com CONFIDENTIALITY NOTE:The information contained in this transmission is for business purposes and is privileged and confidential information intended only for the use of the individual or entity named above. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, please return to the sender and delete it.

On Oct 25, 2014, at 7:42 AM, "ondoheer" notifications@github.com<mailto:notifications@github.com> wrote:

Since you .gitignored the file I couldn't start the app

— Reply to this email directly or view it on GitHubhttps://github.com/jstacoder/flask-cms/issues/2#issuecomment-60484949.

jstacoder commented 10 years ago