Skip to content

Commit

Permalink
Fix namespacing
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Nov 2, 2017
1 parent d3eaccc commit ef169d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinax/teams/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class TeamDefaultHookset(object):

def build_team_url(self, url_name, team_slug):
from .urls import app_name
return reverse(url_name, args=[team_slug], current_app=app_name)
return reverse("{}:{}".format(app_name, url_name), args=[team_slug])

def get_autocomplete_result(self, user):
return {"pk": user.pk, "email": user.email, "name": user.get_full_name()}
Expand Down

0 comments on commit ef169d1

Please sign in to comment.