Task assign

Fixes #142.
Actually, the first one is sufficient for the concatenation.

{{{ python
u'foo' + 'bar'
# 'foobar'
}}}


On Fri, Jul 18, 2014 at 3:00 PM, Antoine Abt <notifications@github.com>
wrote:

> In osmtm/views/project.py:
>
> > @@ -299,6 +300,61 @@ def project_user_delete(request):
> >      return dict()
> >
> >
> > +@view_config(route_name='project_users', renderer='json',
> > +             permission="project_show")
> > +def project_users(request):
> > +    ''' get the list of users for a given project.
> > +        Returns list of allowed users if project is private.
> > +        Return complete list of users if project is not private.
> > +        Users with assigned tasks will appear first. '''
> > +
> > +    id = request.matchdict['project']
> > +    project = DBSession.query(Project).get(id)
> > +
> > +    query = request.params.get('q', '')
> > +    query_filter = User.username.ilike(u"%" + query + "%")
>
> u or not u ?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/hotosm/osm-tasking-manager2/pull/166/files#r15109064>.
>



-- 
-------------------------------------------------------------
  | Pierre GIRAUD
-------------------------------------------------------------