First time here? Check out the FAQ!
1

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

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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
alexandros.z's avatar
596
alexandros.z
asked 12 years ago

Comments

see more comments

1 Answer

3

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Fitoria's avatar
1.1k
Fitoria
answered 12 years ago
link

Comments

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

alexandros.z's avatar alexandros.z (12 years ago)
see more comments