Permalink
Browse files

hmm, some bug's crept in

  • Loading branch information...
1 parent 1486d34 commit bf317ba5fc69bc38ae0cc85a25c7967756f0cb20 Anirudh Sanjeev committed Feb 7, 2010
Showing with 10 additions and 13 deletions.
  1. +2 −2 core/models.py
  2. +1 −1 manage.py
  3. +7 −10 settings.py
View
@@ -13,8 +13,8 @@ class Patch(models.Model):
class Chunk(models.Model):
patch = models.ForeignKey(Patch)
chunkNum = models.IntegerField()
- originalFile = models.CharField(max_length = 50)
- newFile = models.CharField(max_length = 50)
+ originalFile = models.CharField(max_length = 100)
+ newFile = models.CharField(max_length = 100)
chunkText = models.TextField()
chunkHtml = models.TextField()
View
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python2.5
+#!/usr/bin/python
from django.core.management import execute_manager
try:
import settings # Assumed to be in the same directory.
View
@@ -7,7 +7,7 @@
('Anirudh', 'anirudh@anirudhsanjeev.org'),
)
-DOMAIN = 'http://patchbin.com'
+DOMAIN = domain
MANAGERS = ADMINS
@@ -66,15 +66,12 @@
ROOT_URLCONF = 'patchbin.urls'
-if(DEBUG):
- TEMPLATE_DIRS = (
- # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
- # Always use forward slashes, even on Windows.
- # Don't forget to use absolute paths, not relative paths.
- '/home/antileet/webapps/patchbin/patchbin/templates',
- )
-else:
- TEMPLATE_DIRS = () # TODO: put something in here
+TEMPLATE_DIRS = (
+ # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
+ # Always use forward slashes, even on Windows.
+ # Don't forget to use absolute paths, not relative paths.
+ templatepath
+)
INSTALLED_APPS = (
'django.contrib.auth',

0 comments on commit bf317ba

Please sign in to comment.