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

Implement permission edit pages #8

Open
thomasyip opened this issue Apr 24, 2016 · 0 comments
Open

Implement permission edit pages #8

thomasyip opened this issue Apr 24, 2016 · 0 comments

Comments

@thomasyip
Copy link
Member

This is the first in a series of tasks involving permission and integrations with existing system and open source plugins.

You would be the best fit if you do quality work and write good unit tests, love to stay ahead and experiement with newest technologies, knows the ins-and-outs of django, willing to looking code that doesn't have sufficient documentations.

You must be very familiar with Git (bitbucket.org), Pull-request, and know how the in and out of git rebase.

The first milestone of this first task is to implement permission settings pages. (See screenshots)

The second milestone is to add auto ModelAdmin capacity such that all concert subclass of Content or Junction will show up in Django Admin UI.

For milestone one, it is building permission settings page

  • The permission system settings is for django-trusts: http://django-trusts.readthedocs.org/en/latest/
  • The work includes set up views/urls/template and form and unit test on views and form
  • The work is to be deployed to heroku
  • There are 3 main pages to be built, Project settings page, Team's People page, Team's Team page (see screenshots)
  • There are many form pages that link from the 3 main pages (some are shared)
  • You will make a new django's (v1.8) project / app for all the work initially
  • You will add passing tests.
  • You result pull request must pass Travis-CI.
  • When you finish the pages and tests, you will be integrating it with an existing django project as an app of the project.

For milestone two, you will read the models definition. And, add ModelAdmin, if admin is set to true.

# app/models.py

from django.db import models
from trusts.models import Content

class Receipt(Content, models.Model):
    account = models.ForeignKey(Account, null=True)
    merchant = models.ForeignKey(Merchant, null=True)
    # ... other field

    class Meta:
        auto_modeladmin = True
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

No branches or pull requests

1 participant