It doesnt need to be a class i am new to python / django and come from
a php background so was just wondering what the best practice is? Is
it to just put all requests and handling the savinf form data all into
the one view.py? thanks for the reply

On Sep 22, 10:48 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Sep 22, 9:10 am, jake2891 <leahy_r...@hotmail.com> wrote:
>
> > Hey guys, i am using extjs in django and am wondering the correct way
> > to build custom classes like file upload classes and classes of
> > functions. I am a bit confused does everything have to go into
> > views.py by defining a function for each ajax request or what is the
> > process? As with extjs like drop downs make an ajax request to
> > populate them with data do all of these for all of my fields go into
> > the view or can i create a custom class of methods and just use the
> > views for rendering the forms. thanks
>
> Why do you think you need classes for this? Python is not Java, not
> everything has to be a class.
> --
> DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to