team creation is not api v1 compatible
While defining the API v1, it seems that the team creation has been forgotten.
If I try to create a team, I end up with such an error:
Page not found (404)
Request Method:
POST
Request URL:
http://127.0.0.1:8000/api/teams/user/
Using the URLconf defined in beat.web.urls,
Django tried these URL patterns, in this order:
^$
[name='index']
^login/$
[name='login']
^user/(?P<username>\w+)/$
[name='userpage']
^settings/$
[name='user-settings']
^search/(?P<username>\w+)/(?P<queryname>[\w\-]+)/$
[name='search']
^search/$
[name='search']
^tos/$
[name='terms-of-service']
^disclaimer/$
[name='legal-disclaimer']
^contact/$
[name='contact']
^logout/$
[name='logout']
^signup/$
[name='registration']
^signup/complete/$
[name='registration-complete']
^signup/activate/(?P<activation_key>\w+)/$
[name='registration-activation']
^preregister/$
[name='pre-registration']
^preregistration/complete/$
[name='pre-registration-complete']
^algorithms/
^libraries/
^attestations/
^backend/
^dataformats/
^databases/
^experiments/
^statistics/
^toolchains/
^teams/
^plotters/
^admin/
^api/v1/teams/
^api/v1/algorithms/
^api/v1/attestations/
^api/v1/backend/
^api/v1/databases/
^api/v1/dataformats/
^api/v1/experiments/
^api/v1/libraries/
^api/v1/statistics/
^api/v1/toolchains/
^api/v1/plotters/
^api/v1/
^static\/(?P<path>.*)$
The current URL, api/teams/user/, didn't match any of these.
I guess that fixing the URL in the form should be enough.