Why CDOC?
User Manual
Development
Github
LOGO
Why CDOC?
User Manual
Development
Github
GithubLoginState Model
Upto-date
Missing
This document is not yet translated to ⁨English⁩. You are seeing ⁨English⁩ version.
Never Marked
The translation of this document is not yet approved.
Show unapproved version
Out-dated
The ⁨English⁩ document was last modified on ⁨Never Synced⁩. Since then, the ⁨English⁩ version has the following changes.
This document is out dated.
Show latest version
View changes
The following changes has been made in English edition since last modification


class GithubLoginState(models.Model):
    """
    This model is used to store the state of the login process. Along with it,
    it also stores the redirect URL for the state.
    """

    state = models.UUIDField(default=uuid.uuid4)
    redirect_url = models.URLField()
    created_at = models.DateTimeField(auto_now_add=True)

    def __str__(self) -> str:
        return self.state.__str__()
class GithubLoginState(models.Model):
    """
    This model is used to store the state of the login process. Along with it,
    it also stores the redirect URL for the state.
    """

    state = models.UUIDField(default=uuid.uuid4)
    redirect_url = models.URLField()
    created_at = models.DateTimeField(auto_now_add=True)

    def __str__(self) -> str:
        return self.state.__str__()
Why CDOC?
User Manual
Development
Github
Table of contents:
Overview
FTD Templates
Using ftd_django.static()
Data Models
App Models
LOGO
Why CDOC?
User Manual
Development
Github
GithubLoginState Model
Upto-date
Missing
This document is not yet translated to ⁨English⁩. You are seeing ⁨English⁩ version.
Never Marked
The translation of this document is not yet approved.
Show unapproved version
Out-dated
The ⁨English⁩ document was last modified on ⁨Never Synced⁩. Since then, the ⁨English⁩ version has the following changes.
This document is out dated.
Show latest version
View changes
The following changes has been made in English edition since last modification