On Saturday, October 18, 2014 10:05:11 PM UTC-7, Jon Joseph wrote:
>
>
> def __str__(self):
> return self.problem_number + '\n' + self.problem_statement
>
I don't like this idea of sticking a new line into a string representation.
Do you really want a new line crammed into every pos
Hello: I'm using django 1.7 and I've have the following simple model:
from django.db import models
class RegisteredUser(models.Model):
user_name=models.CharField("Name", max_length=200)
register_date=models.DateTimeField('Registration Date')
def __str__(self):
return self.us
2 matches
Mail list logo