Check out the Django 1.5 docs on Class based views.
DrawGraphView here is a class based view.


On Sun, Oct 27, 2013 at 10:09 AM, Ankur Ankan <notifications@github.com>wrote:

> In urls.py:
>
> > @@ -7,7 +7,7 @@
> >
> >  urlpatterns = patterns(
> >      '',
> > -    url(r'^$', draw, name='draw'),
> > +    url(r'^$', DrawGraphView.as_view(), name='draw'),
> >      # url(r'^pgmpy_viz/', include('pgmpy_viz.foo.urls')),
>
> Could you please explain a bit what is this?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pgmpy/pgmpy_viz/pull/14/files#r7235771>
> .
>



-- 
Best Regards,
Pranjal Mittal
B.Tech.  2014
Indian Institute of Technology,BHU
Varanasi, U.P,
India

Github <http://github.com/pramttl> |
LinkedIn<http://in.linkedin.com/pub/pranjal-mittal/26/660/318/>|
Blog <http://pranjalmittal.in>