<commit_before>---
title: Django Fixtures
---

### Fixtures
Note: These are deprecated in 1.8 and will be removed in 1.9
[Django Docs](https://docs.djangoproject.com/en/1.8/howto/initial-data/)

### Transfer to Heroku
* Dump the data into a fixtures directory. I highly recommend using --indent as<commit_msg>Explaining deprecation in more detail<commit_after>---
title: Django Fixtures
---

### Fixtures
Note: Initial load data fixtures are deprecated.  You can do this manually for one off
otherwise you should use [data migrations](https://docs.djangoproject.com/en/1.8/topics/migrations/)
[Django Docs](https://docs.djangoproject.com/en/1.8/howto/initial-data/)

### Transfer to Heroku
* Dump the data into a fixtures directory. I highly recommend using --indent as
{'fraction_non_alphanumeric': 0.11963589076723016, 'fraction_numerical': 0.013003901170351105, 'mean_word_length': 4.202702702702703, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5975327', 'n_tokens_mistral': 250, 'n_tokens_neox': 233, 'n_words': 82}