First time here? Check out the FAQ!

mynameistechno's profile - activity

2018-01-31 21:41:16 -0500 received badge Notable Question (source)
2018-01-31 21:41:16 -0500 received badge Popular Question (source)
2014-09-03 20:17:08 -0500 received badge Famous Question (source)
2013-04-02 12:02:56 -0500 received badge Student (source)
2013-04-02 11:58:34 -0500 asked a question How to update settings.py after deploy? --force throws error

I'm trying to figure out the best way to put custom settings in an outside file and using --append-settings option for the askbot-setup script. However since I have already created/setup the app before, when I use the --force option I get an error:

Please select database engine:
1 - for postgresql, 2 - for sqlite, 3 - for mysql, 4 - oracle (type 1/2/3/4)
> 2
Traceback (most recent call last):
  File "/Users/mmatyas/.virtualenvs/askbot/bin/askbot-setup", line 8, in <module>
    load_entry_point('askbot==0.7.48', 'console_scripts', 'askbot-setup')()
  File "/Users/mmatyas/projects/askbot-devel2/askbot/deployment/__init__.py", line 126, in askbot_setup
    deploy_askbot(options_dict)
  File "/Users/mmatyas/projects/askbot-devel2/askbot/deployment/__init__.py", line 155, in deploy_askbot
    create_new_project = bool(options.force)
AttributeError: 'dict' object has no attribute 'force'

Am I doing something wrong? Is this the best way to do this? We don't want to manually add the settings every time to the generated settings file.

2013-03-20 14:34:16 -0500 commented answer How to translate django applications?

On mac: "brew install gettext" followed by "brew link gettext"

2013-03-20 14:07:23 -0500 commented answer Jinja includes and extends path issue

I noticed this answer is a couple years old. Is it still advisable to edit the default templates directly (as opposed to creating a skin)? I've got my local setup cloned from the master branch so I can easily merge core changes.