This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import os | |
gettext = lambda s: s | |
PROJECT_DIR = os.path.abspath(os.path.dirname(__file__)) | |
DEBUG = True | |
TEMPLATE_DEBUG = DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script> | |
<script type="text/javascript" src="http://github.com/malsup/form/raw/master/jquery.form.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$("#ajaxformpost").ajaxForm({ | |
target: "#ajaxformresult", | |
error: function(data) { | |
$("#rawpostresult").empty(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env_run_lists": { | |
}, | |
"default_attributes": { | |
"memcached": { | |
"listen": "127.0.0.1" | |
} | |
}, | |
"description": "", | |
"name": "viewshare_server", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: python -*- | |
# This is the main Akara server configuration file. It contains | |
# settings for the server and for its extension modules. | |
# The configuration file is written in Python. Configuration data goes | |
# into class attributes. If the module is "A.B.C" then the | |
# configuration information should be in the class named "C". If there | |
# is a conflict then use the parameter "akara_name" to set the full | |
# module name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "viewshare.settings") | |
from freemix.exhibit import models | |
import json, urllib2, uuid | |
from django.contrib.auth.models import User | |
from freemix.exhibit.serializers import ExhibitPropertyListSerializer |