Ask Your Question
1

export askbot live settings in order to be used in another environment

asked 2012-05-30 10:42:17 -0600

alexandros.z gravatar image

I was wondering if it is possible to export my settings/configurations from django admin console in order to use them (import) in another askbot environment.

By this way, I could save time since I will not need to put them again manually. Do you know if something like that is supported?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-05-30 12:31:08 -0600

It's not currently supported just like this but you can do the following:

python manage.py dumpdata livesettings > livesettings.json

and on your target machine

python manage.py loaddata livesettings.json

For more information about Django's fixtures here

edit flag offensive delete link more

Comments

That's great, thanx! I will try it and I will let you know

alexandros.z gravatar imagealexandros.z ( 2012-05-30 16:16:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-05-30 10:42:17 -0600

Seen: 479 times

Last updated: May 30 '12