Right - even though a management command must live inside of an app, all of
them work "globally" across the project. I often include an app called
"base" in my projects for just this purpose - it includes management
commands and utility functions that don't belong logically to any other
app.
Hi,
On 10/27/2015 03:40 PM, bwv549 wrote:
> I have some commands I'd like to include in the manage command (i.e.,
> like 'coverage'). How to make a global command? (I've written many
> commands for apps, but wonder how to make one that isn't tied to any app).
You can't. Management commands are
I have some commands I'd like to include in the manage command (i.e., like
'coverage'). How to make a global command? (I've written many commands
for apps, but wonder how to make one that isn't tied to any app).
--
You received this message because you are subscribed to the Google Groups
3 matches
Mail list logo