<commit_before>from django.db import models
from django.forms import ModelForm
from django.contrib.auth.models import User

# Create your models here.
class Task(models.Model):
    task_text = models.TextField()
    title = models.CharField(max_length=200, blank=True)
    pub_date = models.DateTimeField('date published')
    user = models.ForeignKey('auth.User', on_delete=models.CASCADE)

class TaskForm(ModelForm):
	class Meta:
		model = Task
		fields = ['title','task_text']
		template_name = 'tasks/task_new.html'

class Images(models.Model):
    img= models.ImageField()
    title = models.CharField(max_length=200, blank=True)
    pub_date = models.DateTimeField('date published')
    <commit_msg>Update models.py<commit_after>from django.db import models
from django.forms import ModelForm
from django.contrib.auth.models import User

# Create your models here.
class Task(models.Model):
    task_text = models.TextField()
    title = models.CharField(max_length=200, blank=True)
    pub_date = models.DateTimeField('date published')
    user = models.ForeignKey('auth.User', on_delete=models.CASCADE)

class TaskForm(ModelForm):
	class Meta:
		model = Task
		fields = ['title','task_text']
		template_name = 'tasks/task_new.html'

class Images(models.Model):
    img= models.ImageField(upload_to="users/")
    title = models.CharField(max_length=200, blank=True)
    pub_date = models.DateTimeField('date published')
    
{'fraction_non_alphanumeric': 0.11530398322851153, 'fraction_numerical': 0.008385744234800839, 'mean_word_length': 4.868852459016393, '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': '5783177', 'n_tokens_mistral': 453, 'n_tokens_neox': 436, 'n_words': 99}