These are chat archives for django/django

6th
Aug 2016
mark
@thenewidealism_twitter
Aug 06 2016 08:22
http://192.241.153.25:8000/#/post/Thisisatestarticle if i try to put a comment, it throws a 400 error. got any reason why?
mark
@thenewidealism_twitter
Aug 06 2016 13:00
could anyone please tell me how i can add ‘profile picture’ to the users so that the pictures are displayed inside the posts they have written?
forms.py

    class Profile_form(forms.ModelForm):
        class Meta:
            model = Profile
            fields = [
                "profile_image",
            ]


    models.py

    class Profile:
        user = models.ForeignKey(User, related_name='')
        profile_picture = models.ImageField