Switch to unified view

a/Allura/allura/controllers/project.py b/Allura/allura/controllers/project.py
...
...
161
            require_access(self.neighborhood, 'admin')
161
            require_access(self.neighborhood, 'admin')
162
        project_description = h.really_unicode(project_description or '').encode('utf-8')
162
        project_description = h.really_unicode(project_description or '').encode('utf-8')
163
        project_name = h.really_unicode(project_name or '').encode('utf-8')
163
        project_name = h.really_unicode(project_name or '').encode('utf-8')
164
        project_unixname = h.really_unicode(project_unixname or '').encode('utf-8').lower()
164
        project_unixname = h.really_unicode(project_unixname or '').encode('utf-8').lower()
165
        neighborhood = M.Neighborhood.query.get(name=neighborhood)
165
        neighborhood = M.Neighborhood.query.get(name=neighborhood)
166
        c.project = neighborhood.register_project(project_unixname, private_project=private_project)
166
        c.project = neighborhood.register_project(project_unixname, project_name=project_name, private_project=private_project)
167
        if project_name:
168
            c.project.name = project_name
169
        if project_description:
167
        if project_description:
170
            c.project.short_description = project_description
168
            c.project.short_description = project_description
171
        ming.orm.ormsession.ThreadLocalORMSession.flush_all()
169
        ming.orm.ormsession.ThreadLocalORMSession.flush_all()
172
        offset = int(c.project.ordered_mounts(include_search=True)[-1]['ordinal']) + 1
170
        offset = int(c.project.ordered_mounts(include_search=True)[-1]['ordinal']) + 1
173
        for i, tool in enumerate(kw):
171
        for i, tool in enumerate(kw):