<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models


# Create your models here.
class Student(models.Model):
    username = models.CharField(max_length=50)
    email = models.CharField(max_length=50)
    # password = models.CharField(max_length=50)
    image_url = models.CharField(max_length=100)
    batch = models.CharField(max_length=10)

    def __str__(self):
        return self.username + " -> " + self.email

    def get_batch_id(self):
        batch_id = str(self.email)[0:4]
        return self.email<commit_msg>fixed 3rd party login<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models


# Create your models here.
class Student(models.Model):
    username = models.CharField(max_length=50)
    email = models.CharField(max_length=50)
    # password = models.CharField(max_length=50)
    image_url = models.CharField(max_length=100)
    batch = models.CharField(max_length=10)

    def __str__(self):
        return self.username + " -> " + self.email

    def get_batch_id(self):
        batch_id = str(self.email)[0:4]
        return batch_id
{'fraction_non_alphanumeric': 0.11386986301369863, 'fraction_numerical': 0.02482876712328767, 'mean_word_length': 3.5486381322957197, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '891919', 'n_tokens_mistral': 392, 'n_tokens_neox': 370, 'n_words': 78}