Skip to content
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

Class based blogango #54

Merged
merged 56 commits into from
Aug 27, 2014
Merged

Class based blogango #54

merged 56 commits into from
Aug 27, 2014

Conversation

akshar-raaj
Copy link
Member

No description provided.

omkarvijay5 and others added 30 commits June 23, 2014 17:05
…d view and added LoginRequiredMixin mixin as decorators
…d view and added StaffMemReqMixin replacing @staff_member_required method decorator
…ew and placed two CBVs for admin entry and admin edit
get() is the starting point of View. Any check before view execution
should happen here.
get_queryset() should be exclusively used for creating and getting the
entries.
…xin from install_blog url and converted installblog view to template view
… render 404 instead of last page for invalid pagination
…edirects to 404 if invalid url instead of last page. Modified related test case
@coveralls
Copy link

Coverage Status

Coverage increased (+1.94%) when pulling 7fef03e on class_based_blogango into d39bdac on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.89%) when pulling fdcc631 on class_based_blogango into d39bdac on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.83%) when pulling 285d35d on class_based_blogango into d39bdac on master.

akshar-raaj and others added 21 commits August 14, 2014 13:15
we aren't concerned with only showing the list of Drafts. We want to show
several lists here. So better choice would be TemplateView with all the
context vars calculated in get_context_data.
…ents per page fetches from settings file instead of paginate_by
…lements autocomplete on tags field previously adminentryview was not implementing the same
…th author as current user and publish date with current datetime
…View(for editing a blog entry)

Blog create page and edit page has a lot in common. Keep the common code
in a superclass and let these two views extend from that class.
Reuse code in AdminEntryView(for creating a blog entry) and AdminEditVie...
akshar-raaj added a commit that referenced this pull request Aug 27, 2014
@akshar-raaj akshar-raaj merged commit 986b99e into master Aug 27, 2014
@coveralls
Copy link

Coverage Status

Coverage increased (+3.12%) when pulling b2ca13e on class_based_blogango into bdf5da4 on master.

@akshar-raaj akshar-raaj deleted the class_based_blogango branch August 27, 2014 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants