#479 Fix the import issue while running the development server in profiling mode
Merged by pingou. Opened by sayanchowdhury.
sayanchowdhury/pagure fix-runserver-profile  into  master

Download 479.patch
no initial comment

This will break if you specify a configuration file using --config

Ok, Currently it breaks if you do ./runserver --profile

Yeah, we need to find a ground where both work.

Maybe set the config before doing the import (ie: switch the order in which the args are checked)

I changed the code by only importing the APP. This should work now.

It will work for the profiling, not for the configuration file specified with --config :)

You're right, after testing it locally, it does work, thanks for the fix! :)

Metadata