• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Djenesis / contributr / 118
63%
master: 65%

Build:
Build:
LAST BUILD BRANCH: blog
DEFAULT BRANCH: master
Ran 10 Sep 2015 01:10AM UTC
Jobs 2
Files 16
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
118

Pull #57

travis-ci

ameistad
Update blog model and add basic views and templates

Things added:
Custom queryset manager, PostQuerySet. This filters and only displays posts that har publish set to true. This makes it easy to create blog drafts, and to publish only when it's done. See https://docs.djangoproject.com/en/1.8/topics/db/managers/#calling-custom-queryset-methods-from-the-manager
for more information.

Meta class for verbose name and a plural name in the admin. Also set the blog post in reverse chronological order with -created_date, so the latest post is displayed first.

Slugfield, for a user friendly url to each post.

PostAdmin to lists fields with title, author and created date in the admin. Also added a prepopulated field which automatically fills the slug with javascript.

Basic templates and class based generic views for the blog.

Some tests to assert that the custom queryset displays posts that has publish set to true.
Closes #54
Pull Request #57: Update blog model and add basic views and templates

55 of 92 relevant lines covered (59.78%)

1.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 118.1 (DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis") 10 Sep 2015 01:10AM UTC 0
59.78
Travis Job 118.1
2 118.2 (DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis") 10 Sep 2015 01:10AM UTC 0
59.78
Travis Job 118.2
Source Files on build 118
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #118
  • Pull Request #57
  • PR Base - blog (#114)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc