[Commits] python.it commit r262 - in
code/pythonisti/trunk/pythonisti: . apps apps/geo geo
commit a svn.python.it
commit a svn.python.it
Gio 18 Gen 2007 02:29:33 CET
Author: rhymes
Date: Thu Jan 18 02:29:28 2007
New Revision: 262
Added:
code/pythonisti/trunk/pythonisti/apps/
code/pythonisti/trunk/pythonisti/apps/geo/
- copied from r260, code/pythonisti/trunk/pythonisti/geo/
code/pythonisti/trunk/pythonisti/apps/geo/__init__.py
- copied unchanged from r261, code/pythonisti/trunk/pythonisti/geo/__init__.py
code/pythonisti/trunk/pythonisti/apps/geo/google.py
- copied unchanged from r261, code/pythonisti/trunk/pythonisti/geo/google.py
code/pythonisti/trunk/pythonisti/apps/geo/models.py
- copied, changed from r261, code/pythonisti/trunk/pythonisti/geo/models.py
code/pythonisti/trunk/pythonisti/apps/geo/urls.py
- copied, changed from r261, code/pythonisti/trunk/pythonisti/geo/urls.py
code/pythonisti/trunk/pythonisti/apps/geo/views.py
- copied, changed from r261, code/pythonisti/trunk/pythonisti/geo/views.py
Removed:
code/pythonisti/trunk/pythonisti/geo/
Modified:
code/pythonisti/trunk/pythonisti/urls.py
Log:
moved geo into a an 'apps' subdir
Copied: code/pythonisti/trunk/pythonisti/apps/geo/models.py (from r261, code/pythonisti/trunk/pythonisti/geo/models.py)
==============================================================================
--- code/pythonisti/trunk/pythonisti/geo/models.py (original)
+++ code/pythonisti/trunk/pythonisti/apps/geo/models.py Thu Jan 18 02:29:28 2007
@@ -3,7 +3,7 @@
from django.db import models
from django.contrib.auth.models import User
-from pythonisti.geo import google
+from pythonisti.apps.geo import google
class GeoLocation(models.Model):
Copied: code/pythonisti/trunk/pythonisti/apps/geo/urls.py (from r261, code/pythonisti/trunk/pythonisti/geo/urls.py)
==============================================================================
--- code/pythonisti/trunk/pythonisti/geo/urls.py (original)
+++ code/pythonisti/trunk/pythonisti/apps/geo/urls.py Thu Jan 18 02:29:28 2007
@@ -1,6 +1,5 @@
from django.conf.urls.defaults import *
-
-from pythonisti.geo import views
+from pythonisti.apps.geo import views
urlpatterns = patterns('',
Copied: code/pythonisti/trunk/pythonisti/apps/geo/views.py (from r261, code/pythonisti/trunk/pythonisti/geo/views.py)
==============================================================================
--- code/pythonisti/trunk/pythonisti/geo/views.py (original)
+++ code/pythonisti/trunk/pythonisti/apps/geo/views.py Thu Jan 18 02:29:28 2007
@@ -4,7 +4,7 @@
from django.utils import simplejson
from django.conf import settings
-from pythonisti.geo import models
+from pythonisti.apps.geo import models
def json(request):
locations = models.GeoLocation.objects.all()
Modified: code/pythonisti/trunk/pythonisti/urls.py
==============================================================================
--- code/pythonisti/trunk/pythonisti/urls.py (original)
+++ code/pythonisti/trunk/pythonisti/urls.py Thu Jan 18 02:29:28 2007
@@ -2,8 +2,8 @@
from django.conf import settings
urlpatterns = patterns('',
- (r'^$', 'pythonisti.geo.views.gmap'),
- (r'^geo/', include('pythonisti.geo.urls')),
+ (r'^$', 'pythonisti.apps.geo.views.gmap'),
+ (r'^geo/', include('pythonisti.apps.geo.urls')),
(r'^admin/', include('django.contrib.admin.urls')),
)
Maggiori informazioni sulla lista
Commits