One run manage with a different settings file which has a reduced
INSTALLED_APPS
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googl
On Friday, 30 January 2015 14:01:17 UTC, Avraham Serour wrote:
>
> I believe putting imports inside functions would slow down execution, it
> will make the import everytime the function is executed
>
> one could make something like a lazy import, but you would be trading slow
> startup for slow r
I believe putting imports inside functions would slow down execution, it
will make the import everytime the function is executed
one could make something like a lazy import, but you would be trading slow
startup for slow requests
On Fri, Jan 30, 2015 at 3:49 PM, Collin Anderson
wrote:
> Hi,
>
>
Hi,
Many people would recommend against this, but if you can put the imports
for your heavy 3rd party libraries inside functions and methods, that allow
them to be loaded only if needed.
I would also recommend in general to simply have fewer libraries and apps
(easier said than done :)
Also,
Hi,
I'm having a quite large Django project with dozens of apps and many
reusable third-party libraries. All the custom management commands (being
used with manage.py ) take a long time to be executed, since the
start up sequence takes between 3 and 5 seconds. Using the cProfile module
I was a
5 matches
Mail list logo