]> git.openstreetmap.org Git - osqa.git/blobdiff - osqa.iml
allow only AJAX requests for post votes, otherwise it makes CSRF possible
[osqa.git] / osqa.iml
index ff76cadacc96367efa763ae07f21721ae9e822e1..0fd71e34b29f9a5ff4da870c85ed92e493907fef 100644 (file)
--- a/osqa.iml
+++ b/osqa.iml
@@ -1,18 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<module type="PYTHON_MODULE" version="4">\r
-  <component name="FacetManager">\r
-    <facet type="django" name="Django">\r
-      <configuration>\r
-        <option name="rootFolder" value="$MODULE_DIR$" />\r
-        <option name="settingsModule" value="settings.py" />\r
-        <option name="manageScript" value="manage.py" />\r
-      </configuration>\r
-    </facet>\r
-  </component>\r
-  <component name="NewModuleRootManager" inherit-compiler-output="false">\r
-    <content url="file://$MODULE_DIR$" />\r
-    <orderEntry type="inheritedJdk" />\r
-    <orderEntry type="sourceFolder" forTests="false" />\r
-  </component>\r
-</module>\r
-\r
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="PYTHON_MODULE" version="4">
+  <component name="FacetManager">
+    <facet type="django" name="Django">
+      <configuration>
+        <option name="rootFolder" value="$MODULE_DIR$" />
+        <option name="settingsModule" value="settings.py" />
+        <option name="manageScript" value="manage.py" />
+      </configuration>
+    </facet>
+  </component>
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
+    <exclude-output />
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="jdk" jdkName="Python 2.7.1 (/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7)" jdkType="Python SDK" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+  <component name="TemplatesService">
+    <option name="templateLanguage" value="Django" />
+    <option name="TEMPLATE_CONFIGURATION" value="Django" />
+    <option name="TEMPLATE_FOLDERS">
+      <list>
+        <option value="$MODULE_DIR$/templates" />
+      </list>
+    </option>
+  </component>
+</module>
+