Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use STATIC_URL for a few images #80
Also fix comments_count by casting the primary key value to string because the dict structure containing the values uses string keys, not integers.
Well I do have a few issues with this SQL hotfix
Yes, I agree. Since Nitrate has a long development history, many of aspects of Nitrate looks not good enough. Regarding to the DB schema migration, we had tried South, however, in practice, it's a little bit difficult to use and maintain migration modules among developers. So, we switched to such SQL files holding the migrations.
After upgrading to newer version of Django, it would be good to convert all these necessary migrations to Django migrations carefully.
Here is the document of setting development environment, https://github.com/Nitrate/Nitrate/blob/develop/docs/source/set_dev_env.rst
Anyway, this would be not much visible to be discovered.
At this moment, for either local development or an instance to run Nitrate, it's recommended to initialize database by loading the SQL dump file.
Let's move the schema migrations forward step by step carefully.
Thank you very much. :)