snipt

Ctrl+h for KB shortcuts

Python

load grappelli fixtures

python manage.py loaddata $VIRTUAL_ENV/src/django-grappelli/grappelli/models/fixtures/* --settings=settings
https://snipt.net/embed/b6a7903b7ecb44ee5b339d1c2960aaf4/
/raw/b6a7903b7ecb44ee5b339d1c2960aaf4/
b6a7903b7ecb44ee5b339d1c2960aaf4
python
Python
1
2019-06-10T14:04:40
True
False
False
/api/public/snipt/13065/
load-grappelli-fixtures
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="n">python</span> <span class="n">manage</span><span class="o">.</span><span class="n">py</span> <span class="n">loaddata</span> <span class="err">$</span><span class="n">VIRTUAL_ENV</span><span class="o">/</span><span class="n">src</span><span class="o">/</span><span class="n">django</span><span class="o">-</span><span class="n">grappelli</span><span class="o">/</span><span class="n">grappelli</span><span class="o">/</span><span class="n">models</span><span class="o">/</span><span class="n">fixtures</span><span class="o">/*</span> <span class="o">--</span><span class="n">settings</span><span class="o">=</span><span class="n">settings</span> </span></pre></div> </td></tr></table>
django, grappelli