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

Djenesis / contributr / 118 / 2
63%
master: 65%

Build:
Build:
LAST BUILD BRANCH: blog
DEFAULT BRANCH: master
Ran 10 Sep 2015 01:10AM UTC
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

10 Sep 2015 01:09AM UTC coverage: 59.783% (+1.5%) from 58.333%
DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis"

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%)

0.6 hits per line

Source Files on job 118.2 (DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis")
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 118
  • Travis Job 118.2
  • d06ba0a8 on github
  • Prev Job for DJANGO_VERSION=1.8 DJANGO_SETTINGS_MODULE="contributr.settings.travis" on blog (#114.2)
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