systers / macc

Server side support platform for Peace Corps mobile applications.
http://macc.systers.org/
9 stars 51 forks source link

Extended Malaria Infohub Posts to support Images and External Links #308

Closed yatna closed 7 years ago

yatna commented 7 years ago

MALARIA HUB POST

Create Post -

screen shot 2017-06-24 at 7 57 22 pm

View Post-

screen shot 2017-06-24 at 8 11 52 pm

Edit Post-

screen shot 2017-06-24 at 8 12 05 pm

yatna commented 7 years ago

FIRST AIDE - GET HELP NOW POSTS

Create Post

screen shot 2017-06-25 at 7 25 54 pm

View Post -

screen shot 2017-06-25 at 7 36 26 pm

Edit post -

screen shot 2017-06-25 at 7 36 37 pm

amittbhardwj commented 7 years ago

@yatna you can use UrlField instead for links.

On Jul 11, 2017 2:01 PM, "Yatna Verma" notifications@github.com wrote:

@yatna commented on this pull request.

In malaria_web/models.py https://github.com/systers/macc/pull/308#discussion_r126764248:

@@ -20,7 +22,12 @@ class Post(models.Model): )] )

link to important documents

  • link_post = models.CharField(max_length=2000)
  • link_post = models.CharField(max_length=200)

Generally URLs are short, so I kept the max_length to 200.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/systers/macc/pull/308#discussion_r126764248, or mute the thread https://github.com/notifications/unsubscribe-auth/AFpS4Q3KXKh-VsWBrtHaG3OHrYQd_-gUks5sM7hogaJpZM4OEWN_ .