← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 701115] Re: Template error when team has no name

 

I'm not sure this is valid, because teams should never be without a
name.  This seems to only happen when your database is in an
inconsistent state

-- 
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.
https://bugs.launchpad.net/bugs/701115

Title:
  Template error when team has no name

Status in LoCo Directory:
  New

Bug description:
  on the page http://localhost:8000/teams/<team-slug> where the team has
  no name (as far not seen in live database) i got the following error

  Exception Type: 	TemplateSyntaxError
  Exception Value: 	Caught AttributeError while rendering: 'NoneType' object has no attribute 'replace'

  
  In template loco_directory/templates/teams/team_detail.html, error at line 4
  {% block title %}{% trans team.name %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %}





References