<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Django on Swrdfish</title>
    <link>https://swrdfish.github.io/tags/django/</link>
    <description>Recent content in Django on Swrdfish</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 05 Jan 2015 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://swrdfish.github.io/tags/django/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Django static files in Openshift</title>
      <link>https://swrdfish.github.io/tech/2015-01-05-django-static-files-in-openshift/</link>
      <pubDate>Mon, 05 Jan 2015 00:00:00 +0000</pubDate>
      <guid>https://swrdfish.github.io/tech/2015-01-05-django-static-files-in-openshift/</guid>
      <description>&lt;p&gt;To serve static files for django use &lt;a href=&#34;https://warehouse.python.org/project/whitenoise/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;whitenoise&lt;/a&gt;&#xA;.&lt;/p&gt;&#xA;&lt;p&gt;This will require you to add an environment variable &lt;code&gt;DJANGO_SETTINGS_MODULE=&amp;quot;jhinuk.settings&amp;quot;&lt;/code&gt; to your Openshift app. To do this follow the instructions &lt;a href=&#34;https://help.openshift.com/hc/en-us/articles/202399310-How-to-create-and-use-environment-variables-on-the-server-&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;here&lt;/a&gt;&#xA;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Django on Openshift</title>
      <link>https://swrdfish.github.io/tech/2014-12-29-django-on-openshift/</link>
      <pubDate>Mon, 29 Dec 2014 00:00:00 +0000</pubDate>
      <guid>https://swrdfish.github.io/tech/2014-12-29-django-on-openshift/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.openshift.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Openshift&lt;/a&gt;&#xA; is a new app hosting service from RedHat which offers a great free package. Till now I&amp;rsquo;ve used Heroku to host some apps and its great but it doesn&amp;rsquo;t provide any free database (well it does but you&amp;rsquo;ll have to enter your credit card details which in India few people have). Also the filesystem of heroku is such that it refreshes every 24hrs deleting every thing except the repo. So heroku is great for testing but hosting something with somesort of a database is not possible unless you pay.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
