Code Monkey home page Code Monkey logo

ccbv's People

Contributors

abhijo89 avatar arruda avatar dependabot[bot] avatar exonian avatar garrypolley avatar ghickman avatar jturnbull avatar karatasfurkan avatar kommusoft avatar kyerussell avatar mellen avatar meshy avatar mjtamlyn avatar mkoistinen avatar perry avatar ralphje avatar rjmunro avatar xi avatar ymebo avatar ypcrumble avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ccbv's Issues

Link to source page too

I was interested in seeing the actual source code for a View. Would be nice to link from the footer.

Use something else to store models?

We have multiple parents for some models. We need an efficient way to traverse this tree.
The way we do it here is grossly inefficient: 9519a5b#L0R89

Perhaps django-mptt ? -- can it cope with multiple parents?

Show minimal import string

ie instead of

from django.views.generic.edit import DeleteView

we could have:

from django.views.generic import DeleteView

shown at the top of the page.

Each of the primary Views needs an example or two.

eg for TemplateView:

in views.py:

from django.views.generic import TemplateView

class HomeView(TemplateView):
    template_name = 'home.html'

in urls.py:

from django.conf.urls import patterns, url
from views import HomeView

urlpatterns = patterns('',
    url(r'^$', HomeView.as_view(), name='home'),
)

An extended example could show how to add extra context, or dynamically choose the template..

Clean up user flow.

Users spend a lot of time on the site bouncing around worthless pages. They are to be removed. Lists are boring, and many users drop off the site before finding the real content.

We need to take users straight to where they want to go.

Add i18n and L10n

We get a lot of international traffic. (Especially from Russia! Привет!) It would be nice to reward that with i18n support.

Improve formatting of class attributes

Currently in the form:
response_class = <class 'django.template.response.TemplateResponse'>

Looks a bit unformatted.

Would probably be a change in get_value.

Show ordering of Super Classes within a method

When looking at methods on a class whose MRO gives it a few super classes for the given method it's hard to tell which comes first. Probably not the most useful change since you can't jump in the middle of the methods that are called, but would be useful.

Some docs links broken/missing.

Having merged #52, some docs links are now broken/missing:

[
    (u'1.4', u'GenericViewError'),
    (u'1.3', u'GenericViewError'),
    (u'1.5', u'GenericViewError'),
    (u'1.5', u'BaseDetailView'),
    (u'1.5', u'BaseCreateView'),
    (u'1.5', u'BaseDeleteView'),
    (u'1.5', u'BaseFormView'),
    (u'1.5', u'BaseUpdateView')
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.