Skip to content

Commit

Permalink
Merge branch 'django-base-library-master-tmp'
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Jul 8, 2009
2 parents acf70ff + bea4afd commit d098521
Show file tree
Hide file tree
Showing 30 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1 +1 @@
documentation for djangobaselibrary
documentation for browsecap
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.contrib import admin
from djangobaselibrary.sample.models import Spam, Type
from browsecap.sample.models import Spam, Type

admin.site.register([Spam, Type])

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

'''
created via:
./djangobaseproject/manage.py startmigration djangobaselibrary.sample initial
./proj/manage.py startmigration browsecap.sample initial
'''

class Migration:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

'''
created via:
./djangobaseproject/manage.py startmigration sample create_spam --model Spam
./proj/manage.py startmigration sample create_spam --model Spam
'''

class Migration:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

'''
created via:
./djangobaseproject/manage.py startmigration sample add_spam_count --add-field Spam.count
./proj/manage.py startmigration sample add_spam_count --add-field Spam.count
'''

class Migration:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

'''
created via:
./djangobaseproject/manage.py startmigration sample freeze --freeze sample
./proj/manage.py startmigration sample freeze --freeze sample
'''

class Migration:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:
def forwards(self, orm):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

from south.db import db
from django.db import models
from djangobaselibrary.sample.models import *
from browsecap.sample.models import *

class Migration:

Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions browsecap/sample/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from django.conf.urls.defaults import *

from browsecap.sample import views

urlpatterns = patterns('',
url(r'^$', views.homepage, name='browsecap-homepage'),
)

File renamed without changes.
2 changes: 1 addition & 1 deletion debian/README.Debian
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
centrum-python-djangobaselibrary for debian
centrum-python-browsecap for debian
-------------------------------------------
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
centrum-python-djangobaselibrary (0.0.0) unstable; urgency=low
centrum-python-browsecap (0.0.0) unstable; urgency=low

* initial build

Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Source: centrum-python-djangobaselibrary
Source: centrum-python-browsecap
Section: python
Priority: optional
Maintainer: Jan Kral <jan.kral@centrumholdings.com>
Uploaders: Ondrej Kohout <ondrej.kohout@centrumholdings.com>, Jakub Vysoky <jakub.vysoky@centrumholdings.com>, Lukas Linhart <lukas.linhart@centrumholdings.com>
Build-Depends: cdbs (>= 0.4.41), debhelper (>= 5.0.37.2), python-dev, python-support (>= 0.3), python-setuptools, centrum-python-setuptoolsdummy
Standards-Version: 3.7.2

Package: centrum-python-djangobaselibrary
Package: centrum-python-browsecap
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}, python-django, python-docutils
Description: django base library
Expand Down
8 changes: 0 additions & 8 deletions djangobaselibrary/sample/urls.py

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup, find_packages
import djangobaselibrary
import browsecap

# all fields marked with TODO: REPLACE
# must be filled with some meanigful values
Expand All @@ -9,7 +9,7 @@
__versionstr__ = '.'.join(map(str, VERSION))

setup(
name = 'djangobaselibrary',
name = 'browsecap',
version = __versionstr__,
description = 'Django Base Library', # TODO: REPLACE
long_description = '\n'.join((
Expand Down
2 changes: 1 addition & 1 deletion tests/example_project/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import django

import djangobaselibrary
import browsecap

import example_project

Expand Down
4 changes: 2 additions & 2 deletions tests/example_project/settings/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
DISABLE_CACHE_TEMPLATE = DEBUG

DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = join(gettempdir(), 'djangobaselibrary_example_project.db')
TEST_DATABASE_NAME =join(gettempdir(), 'test_djangobaselibrary_example_project.db')
DATABASE_NAME = join(gettempdir(), 'browsecap_example_project.db')
TEST_DATABASE_NAME =join(gettempdir(), 'test_browsecap_example_project.db')
DATABASE_USER = ''
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
Expand Down
2 changes: 1 addition & 1 deletion tests/example_project/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(r'^static/(?P<path>.*)$', 'django.views.static.serve', { 'document_root': settings.MEDIA_ROOT, 'show_indexes': True }),

# reverse url lookups
# (r'^', include('djangobaselibrary.sample.urls')),
# (r'^', include('browsecap.sample.urls')),

)

4 changes: 2 additions & 2 deletions tests/unit_project/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'django.contrib.auth.middleware.AuthenticationMiddleware',
)

ROOT_URLCONF = 'djangobaselibrary.sample.urls'
ROOT_URLCONF = 'browsecap.sample.urls'

TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
Expand All @@ -37,7 +37,7 @@
)

INSTALLED_APPS = (
'djangobaselibrary.sample',
'browsecap.sample',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
Expand Down
2 changes: 1 addition & 1 deletion tests/unit_project/settings/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = join(gettempdir(), 'djangobaselibrary_unit_project.db')
DATABASE_NAME = join(gettempdir(), 'browsecap_unit_project.db')
TEST_DATABASE_NAME =join(gettempdir(), 'test_unit_project.db')
DATABASE_USER = ''
DATABASE_PASSWORD = ''
Expand Down

0 comments on commit d098521

Please sign in to comment.