I am new to Django that came from Rails, and I find Django fixtures (most often the JSON from what I am building) to be somewhat uncomfortable and unresponsive, at least compared to the rails that I know, I liked to build in some ruby code, for example <%= Time.now %>, or referring to other devices by name when binding things with foreign keys (to avoid the need to track identifiers).
So, the question is, how do you feel more about Django developers building their lights. Do you sit down and write JSON / XML / YAML manually, or are there other tools that will help you look similar to what the rails give me? Or it’s easiest to create some data in the shell. /manage.py and upload this data to the instrument instead of manually recording the instruments? Or even so, you will find that you put a lot of data into your setUp (self) method in your test classes. Maybe writing these things by hand is less tedious if you have a little more experience?
source
share