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
// Copyright: Asad Awan | |
// license: Apache | |
var utils: { | |
overrideChangePage: function() { | |
var cp = $.mobile.changePage; | |
$.mobile.changePage = function(url, opts) { | |
if (typeof(url) == 'string') { | |
var o = url.split('#'); | |
if (o.length == 2) { |
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
''' | |
@author: asad k awan | |
@copyright: asad k awan | |
@license: Apache | |
''' | |
import re | |
from django.http import HttpResponse, HttpResponseBadRequest | |
from django.db.models.query import QuerySet |
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
""" | |
@author: Asad K Awan | |
@copyright: Asad K Awan | |
@license: BSD | |
""" | |
from django.core.serializers.python import Serializer as PySerializer | |
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 -Wall | |
""" | |
Run doctests from a given set of modules in django environment. | |
@author: Asad | |
@license: BSD | |
""" | |
import os, sys, glob | |
from sys import stderr |