-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hacker-news #5
base: master
Are you sure you want to change the base?
Hacker-news #5
Conversation
@@ -1,8 +1,5 @@ | |||
from django.db import models | |||
|
|||
|
|||
# Create your models here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
o.O ? Be careful what you push!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why keep this line? Intentionally delete kiya hai
640571b
to
c2e036b
Compare
Add Comments to Models, Form Make detail section to view and add Comments
Init Work on Recursive comments
pub_date = models.DateTimeField('date published') | ||
|
||
def __unicode__(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arunabh98 Use __str__()
instead of __unicode__()
.... Adhere to python3.5 format
Why is this causing merge conflicts 😕 ? You're working on a separate folder right? |
Yeah on a separate folder. But some changes had to made in the setting and stuff. |
Also @arunabh98 accidentally added |
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put migration files in gitignore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right
Initial commit . Will keep adding to it.
@siddharthbulia @DheerendraRathor @udiboy1209