Skip to content

Commit

Permalink
hmm, some bug's crept in
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirudh Sanjeev committed Feb 7, 2010
1 parent 1486d34 commit bf317ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions core/models.py
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion manage.py
@@ -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.
Expand Down
17 changes: 7 additions & 10 deletions settings.py
Expand Up @@ -7,7 +7,7 @@
('Anirudh', 'anirudh@anirudhsanjeev.org'),
)

DOMAIN = 'http://patchbin.com'
DOMAIN = domain

MANAGERS = ADMINS

Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit bf317ba

Please sign in to comment.