From 6d52e560a33f8b519d96840f42024f6bd04c72b9 Mon Sep 17 00:00:00 2001 From: Mauricio de Abreu Antunes Date: Fri, 8 Jan 2016 16:20:10 -0200 Subject: [PATCH] Add documentation for standalone scripts --- docs/patterns.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/patterns.rst b/docs/patterns.rst index a064fde..c5222ce 100644 --- a/docs/patterns.rst +++ b/docs/patterns.rst @@ -167,3 +167,13 @@ connecting to a database:: A new ``setup`` method was added to be able to handle the new :class:`~configurations.values.Value` classes and allow an in-between modification of the configuration values. + + +Standalone scripts +------------------ + +If you want to run scripts outside of your project you need to add these lines +on top of your file:: + + import configurations + configurations.setup()