<commit_before>from __future__ import absolute_import

import urllib

from django.db import models
from django.contrib.auth.models import User

from .managers import TokenManager, ConsumerManager, ResourceManager
from .consts import KEY_SIZE, SECRET_SIZE


class Nonce(models.Model):
    token_key = models.CharField(max_length=KEY_SIZE)
    consumer_key = models.CharField(max_length=KEY_SIZE)
    key = models.CharField(max_length=255)
    
    def __unicode__(self):
        return u"Nonce %s for %s" % (self.key, self.consumer_key)


class Resource(models.Model):
    name = models.CharField(max_length=255)
    url = models.TextField(max_length=2047)
    is_readonly = models.BooleanField(default=True)
    
    objects = ResourceManager()

    def __unicode__(self):<commit_msg>Remove Nonce model from database<commit_after>from __future__ import absolute_import

import urllib

from django.db import models
from django.contrib.auth.models import User

from .managers import TokenManager, ConsumerManager, ResourceManager
from .consts import KEY_SIZE, SECRET_SIZE


class Resource(models.Model):
    name = models.CharField(max_length=255)
    url = models.TextField(max_length=2047)
    is_readonly = models.BooleanField(default=True)
    
    objects = ResourceManager()

    def __unicode__(self):
{'fraction_non_alphanumeric': 0.08116385911179173, 'fraction_numerical': 0.013016845329249618, 'mean_word_length': 4.808888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6130203', 'n_tokens_mistral': 411, 'n_tokens_neox': 387, 'n_words': 94}