← Back to team overview

ubuntu-bengali-manual team mailing list archive

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

 

In that case, let's change this to null=False, default=''

** Changed in: loco-directory
       Status: New => Triaged

** Changed in: loco-directory
   Importance: Undecided => Low

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

Title:
  Template error when team has no name

Status in LoCo Team Portal:
  In Progress

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 %}

To manage notifications about this bug go to:
https://bugs.launchpad.net/loco-directory/+bug/701115/+subscriptions


References