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
Server Error in '/' Application. | |
Runtime Error | |
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. | |
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". | |
<!-- Web.Config Configuration File --> |
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
{% extends "blog_base.html" %} | |
{% load cms_tags %} | |
{% block body %} | |
{% block left-col %}{% endblock %} | |
{% block right-col %}{% endblock %} | |
{% endblock %} |
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
{% load cms_tags %} | |
{% load cache menu_tags %} | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<div id="page_container"> | |
<header> | |
<title> {% page_attribute "page_title" %}</title> | |
<div id="header_container"> | |
<div id="logo_container"> | |
<p> aaaaaaaaaaaaaaaaaaaaaa </p> |
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
.. _installfromscratch: | |
############ | |
Installation | |
############ | |
This guide is a "quick and dirty" way to get the CMS installed and running | |
on three different operating systems. To fully understand what you are doing | |
and what other changes you can make, please read the official docs | |
`offical_documentation`_. |
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
############ | |
Installation | |
############ | |
This guide is a "quick and dirty" way to get the CMS installed and running | |
on three different operating systems. To fully understand what you are doing | |
and what other changes you can make, please read the official docs | |
`official_documentation`_. | |
Please read the documentation fully before logging any problems as you need |
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="jquery.min.js" type="text/javascript"></script> | |
<script src="V.Security.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$('form').submit(function() { | |
var s = $('#trans_id').val() + $('#amount').val() + $('#remotepassword').val(); //here three values get added to one string | |
$('#digest').val(V.Security.md5(s)); //here the values get passed through an md5 comverter and placed into hidden variable "digest" - see below | |
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
from django.db import models | |
from polymorphic.polymorphic_model import PolymorphicModel | |
from cms.models.fields import PlaceholderField | |
from django.db.models.signals import pre_save | |
from django.template.defaultfilters import slugify | |
class Slugifier(object): | |
def __init__(self, model, target, source): | |
self.model = product | |
self.target = slug |
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
from django.db import models | |
from polymorphic.polymorphic_model import PolymorphicModel | |
from cms.models.fields import PlaceholderField | |
from django.db.models.signals import pre_save | |
from django.template.defaultfilters import slugify | |
class Slugifier(object): | |
def __init__(self, model, target, source): | |
self.model = model | |
self.target = target |
OlderNewer