<s> import os <EOL> from django . db import models <EOL> from django . conf import settings <EOL> from django . contrib . auth . models import User <EOL> class UserModel ( models . Model ) : <EOL> name = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> class Meta : <EOL> app_label = '<STR_LIT>' <EOL> upload_to = os . path . join ( settings . FILE_STORAGE_DIR , '<STR_LIT>' ) <EOL> class CommentModel ( models . Model ) : <EOL> user = models . ForeignKey ( User , related_name = '<STR_LIT>' ) <EOL> users_liked = models . ManyToManyField ( User , blank = True , null = True ) <EOL> title = models . CharField ( max_length = <NUM_LIT:20> ) <EOL> text = models . CharField ( max_length = <NUM_LIT:200> ) <EOL> attachment = models . FileField ( <EOL> upload_to = upload_to , blank = True , null = True , max_length = <NUM_LIT> ) <EOL> hidden_text = models . CharField ( max_length = <NUM_LIT:200> , blank = True , null = True ) <EOL> def __str__ ( self ) : <EOL> return self . user <EOL> class Meta : <EOL> app_label = '<STR_LIT>' </s>
