damned-lies r1103 - in branches/djamnedlies: . stats templates



Author: stephaner
Date: Sun Oct 26 09:58:01 2008
New Revision: 1103
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1103&view=rev

Log:
2008-10-26  StÃphane Raimbault  <stephane raimbault gmail com>

	* stats/admin.py:
	* stats/urls.py:
	* templates/list-modules.html:
	* templates/person-base.html:
	* urls.py: Removed constraint on the project name (easier to
	deploy).


Modified:
   branches/djamnedlies/ChangeLog
   branches/djamnedlies/stats/admin.py
   branches/djamnedlies/stats/urls.py
   branches/djamnedlies/templates/list-modules.html
   branches/djamnedlies/templates/person-base.html
   branches/djamnedlies/urls.py

Modified: branches/djamnedlies/stats/admin.py
==============================================================================
--- branches/djamnedlies/stats/admin.py	(original)
+++ branches/djamnedlies/stats/admin.py	Sun Oct 26 09:58:01 2008
@@ -18,8 +18,8 @@
 # along with Damned Lies; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-from djamnedlies.stats.models import Statistics, Module, Branch, Category, Release, Language, Team, Person
 from django.contrib import admin
+from stats.models import Statistics, Module, Branch, Category, Release, Language, Team, Person
 
 class ReleaseAdmin(admin.ModelAdmin):
     list_display = ('name', 'status', 'stringfrozen')

Modified: branches/djamnedlies/stats/urls.py
==============================================================================
--- branches/djamnedlies/stats/urls.py	(original)
+++ branches/djamnedlies/stats/urls.py	Sun Oct 26 09:58:01 2008
@@ -6,7 +6,7 @@
 from django.contrib import admin
 admin.autodiscover()
 
-urlpatterns = patterns('djamnedlies.stats.views',
+urlpatterns = patterns('stats.views',
     (r'^/*$', 'index'),
     (r'^teams/*$', 'teams'),
     (r'^teams/(?P<name>.*)$', 'team'),

Modified: branches/djamnedlies/templates/list-modules.html
==============================================================================
--- branches/djamnedlies/templates/list-modules.html	(original)
+++ branches/djamnedlies/templates/list-modules.html	Sun Oct 26 09:58:01 2008
@@ -13,7 +13,7 @@
 <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
 <ul class="foot">
 {% for mod in modules %}
-  <li><a href="{% url djamnedlies.stats.views.module mod.name %}">{{ mod.translated_name }} </a></li>
+  <li><a href="{% url stats.views.module mod.name %}">{{ mod.translated_name }} </a></li>
 {% endfor %}
 </ul>
 </div>

Modified: branches/djamnedlies/templates/person-base.html
==============================================================================
--- branches/djamnedlies/templates/person-base.html	(original)
+++ branches/djamnedlies/templates/person-base.html	Sun Oct 26 09:58:01 2008
@@ -50,7 +50,7 @@
       <h2>{% trans "Translates:" %}</h2>
       <ul>
         {% for team in roles.translates %}
-          {% url djamnedlies.stats.views.team team.name as team_url %}
+          {% url stats.views.team team.name as team_url %}
           <li>{% blocktrans with team.description as teamdesc %}Coordinates <a href="{{ team_url }}">{{ teamdesc }}</a>{% endblocktrans %}
         {% endfor %}
       </ul>

Modified: branches/djamnedlies/urls.py
==============================================================================
--- branches/djamnedlies/urls.py	(original)
+++ branches/djamnedlies/urls.py	Sun Oct 26 09:58:01 2008
@@ -11,7 +11,7 @@
 
     (r'^admin/(.*)', admin.site.root),
 
-    (r'^stats/', include('djamnedlies.stats.urls')),
+    (r'^stats/', include('stats.urls')),
 
 )
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]