我正在使用Saleor/Satchless来支持电力和电子商务网站(继承了该项目).我找不到Saleor邮件列表,所以在此发帖.
./manage.py dumpdata -e contenttypes -e sessions -e south -e > payments_data.json
当我运行测试并且django尝试加载灯具时,它会解决这个问题.我使用Postgres作为数据库,虽然不是很熟悉,但似乎可能存在加载数据的顺序问题
任何想法如何解决它?
======================================================================
ERROR: test__hometryon_extra_pair_sizes (payment.tests.InterstitialTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/test/testcases.py", line 259, in __call__
self._pre_setup()
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/test/testcases.py", line 479, in _pre_setup
self._fixture_setup()
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/test/testcases.py", line 849, in _fixture_setup
'skip_validation': True,
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/core/management/__init__.py", line 161, in call_command
return klass.execute(*args, **defaults)
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/core/management/base.py", line 255, in execute
output = self.handle(*args, **options)
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/core/management/commands/loaddata.py", line 224, in handle
connection.check_constraints(table_names=table_names)
File "/Users/andres/.virtualenvs/rpmwest/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", …Run Code Online (Sandbox Code Playgroud) 这可不是说笑.我想看看我是否遗漏了什么.在官方文档中,我只看到描述和声明该框架已有详细记录.我想知道这个优秀的文档在哪里?
我需要编写一个简单的演示电子商店,其中包含一个简单的产品列表并与ipayment.de集成.清单,我可以轻松完成.但是,我在哪里阅读如何将ipayment表单与商店集成?