Re: Suggiestion on how split a views.py file

2015-05-13 Thread James Schneider
> > ​Thanks James for the answer, my problem is to update the various import in my app to refer to the new file with the code I moved into. At the moment, the only thing that can help is to have all the view tested to show an error in the import during the Test Harness. > ​ > ​Obviously I have not

Re: Suggiestion on how split a views.py file

2015-05-12 Thread Karim
On Wed, May 13, 2015 at 5:45 AM, James Schneider wrote: > There's no requirement that you use views.py, or any of the file names > that are created using 'django-admin.py', ​Thanks James for the answer, my problem is to update the various import in my app to refer to the new file with the code

Re: Suggiestion on how split a views.py file

2015-05-12 Thread James Schneider
There's no requirement that you use views.py, or any of the file names that are created using 'django-admin.py', and you can create as many others as you like. You can run an entire Django project from a single file if you were so inclined. All of the file name references are just for convention an

Suggiestion on how split a views.py file

2015-05-12 Thread Karim
Hello everyone! I have a huge views.py about 1200 lines. I would like to split it in different files moving some classes. Do you have any suggestion on how handle the import/dependencies in the project? Thanks -- Karim N. Gorjux -- You received this message because you are subscribed to the Go