{"id":272,"date":"2011-09-13T21:08:46","date_gmt":"2011-09-14T01:08:46","guid":{"rendered":"http:\/\/dashdrum.com\/blog\/?p=272"},"modified":"2011-09-13T21:08:46","modified_gmt":"2011-09-14T01:08:46","slug":"satchmo","status":"publish","type":"post","link":"https:\/\/dashdrum.com\/blog\/2011\/09\/satchmo\/","title":{"rendered":"Satchmo"},"content":{"rendered":"<p>I&#8217;m setting up an online store using the popular Django application <a href=\"http:\/\/http:\/\/www.satchmoproject.com\/\" title=\"Satchmo - The webshop for perfectionists with deadlines\" target=\"_blank\">Satchmo<\/a>.  My goal is to build a site to sell my wife&#8217;s gourd art, but I&#8217;d also like to get a store in my portfolio to show to future clients. <\/p>\n<p>Here are a couple of hints on the installation.<\/p>\n<h2>URLS<\/h2>\n<p>After I installed everything, I ran the satchmo_check command to confirm the configuration and received this error:<\/p>\n<pre>Unable to resolve url. Received error- Empty module name<\/pre>\n<p>Turns out I had missed a setting when modifying the skeleton settings.py file.  Be sure to set ROOT_URLS to the correct setting for your installation.  It was blank in the sample file.<\/p>\n<h2>CSRF<\/h2>\n<p>My first experiment was with the trunk version, currently 0.9-2.  However, for the installation of my store, I used the latest released version, 0.9-1.  Should be close, right?  It probably is, but a big thing to note is that this version does not use the CSRF middleware that is included in my default setup.  I didn&#8217;t get very far until I commented that module in settings.py.<\/p>\n<p>I&#8217;ll post more as I run across things.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m setting up an online store using the popular Django application Satchmo. My goal is to build a site to sell my wife&#8217;s gourd art, but I&#8217;d also like to get a store in my portfolio to show to future clients. Here are a couple of hints on the installation. URLS After I installed everything, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dashdrum.com\/blog\/2011\/09\/satchmo\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Satchmo&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":2,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":274,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/272\/revisions\/274"}],"wp:attachment":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}