bcurtu wrote:
> Hi,
>
> The reason you must place your templates out from your app code is
> because if you don't do that, anyone could access to the code via
> browser. Just writing the path of your files, and they have the code.
> It could be a security issue.
That is not the reason, and if yo
Hi, Thanks the for the reply.
> The reason you must place your templates out from your app code is
> because if you don't do that, anyone could access to the code via
> browser. Just writing the path of your files, and they have the code.
> It could be a security issue.
Umm, if it doesn't matc
Hi,
The reason you must place your templates out from your app code is
because if you don't do that, anyone could access to the code via
browser. Just writing the path of your files, and they have the code.
It could be a security issue.
About your managers.py file, it's OK to decouple logic from
Hello, I'm going down the same adoption path. Coming over from Java
skipping and happy.
I'm fighting (and loosing) the urge to create a manager.py that will
basically hold business logic and interface with the models.
Additionally, I have read the unit testing documentation, and I want
to make s
I haven't found any 'best practices' for Python other than PEP-8 or
the older http://www.python.org/doc/essays/styleguide.html.
Django kind of pre-defines a general best practice of project layout,
but anything outside of models, tests & fixtures, templatetags, et.
al. is up to you (views and set
Thanks Doug,
Well, yes, I think it's pretty easy to switch to this philosophy, even
it's hard to come back to java again!
I will follow my model 1, because it's generic code and it could be
reusable.
What about a good practices reference guide... Any suggestion?
On Apr 3, 4:54 pm, Doug Van Hor
On Apr 3, 9:19 am, bcurtu <[EMAIL PROTECTED]> wrote:
> Hi again,
>
> I come form j2ee world, this is my first project in Django and usually
> I feel a bit lost about general concepts.
>
> My project has bit too much business code, it's a kind of datamining
> tool. I have created a set of functions
Hi again,
I come form j2ee world, this is my first project in Django and usually
I feel a bit lost about general concepts.
My project has bit too much business code, it's a kind of datamining
tool. I have created a set of functions but I'm not sure where the
"best practices" say I should place
8 matches
Mail list logo