Add YoutubeCredentials model and implement YouTube OAuth login functionality
This commit is contained in:
parent
f7baa91132
commit
4b2f695afb
9 changed files with 315 additions and 1 deletions
|
@ -2,6 +2,9 @@
|
|||
<h2>Mes groupes</h2>
|
||||
<p>
|
||||
<a href="{% url "group_create" %}" role="button"><i class="ri-add-box-fill"></i> Créer un groupe</a>
|
||||
{% if not user.youtubecredentials %}
|
||||
<a href="{% url "youtube_login" %}" role="button"><i class="ri-youtube-fill"></i> Me connecter au compte Youtube</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% if user.owned_group_set.exists or user.group_set.exists %}
|
||||
<ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue