python - Make Django not lazy-load module, for development convenience -


i notice django lazy-loads modules used in project. when first run server in debug on local machine, , load page site, debugger tells me django imported more hundred modules.

i'd django import modules when it's launched, , not wait first request. make development more convenient, since won't have wait more time on each first request.

is possible?

it looks library: https://github.com/ojii/django-load, simple, has function load module within django. if combine technique django entry point hook (like http://eldarion.com/blog/2013/02/14/entry-point-hook-django-projects/), should able explicitly load modules @ startup. (i did not try myself, looks feasible.)


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -