code: def database_url(self):
          
          return 'postgres://{}:{}@{}/{}'.format(
              self.user, self.password, self.name, self.database)
docs: Returns a "database URL" for use with DJ-Database-URL and similar
          libraries.