~daker/loco-team-portal/fix.1088088

« back to all changes in this revision

Viewing changes to loco_directory/teams/views.py

  • Committer: Tarmac
  • Author(s): Adnane Belmadiaf
  • Date: 2012-11-30 20:31:16 UTC
  • mfrom: (567.1.1 fix.876659)
  • Revision ID: tarmac@geekpad-20121130203116-5hdiekcwqmv9ps1i
[r=] * More SEO friendly urls
* Fixed the tests
* Moved the manages to a sperate file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
 
 
3
2
from django.template import RequestContext
4
3
from django.utils.translation import ugettext
5
4
from django.core import serializers
6
5
 
 
6
from django.shortcuts import render_to_response, redirect, get_object_or_404
7
7
from django.contrib.auth.decorators import login_required
8
 
from django.db.models import Q
9
 
 
10
 
from django.shortcuts import get_object_or_404
11
 
from django.shortcuts import render_to_response
12
8
 
13
9
from django import http
14
10
 
15
 
from common.utils import redirect, simple_iterator
 
11
from common.utils import simple_iterator
16
12
from common import launchpad
17
13
 
18
14
from teams.models import Continent, Team, countries_without_continent, countries_without_continent_have_teams, teams_without_country