how can i create databases, routers and install apps in runtime?

12 views
Skip to first unread message

emilton mendoza

unread,
Oct 31, 2022, 9:34:20 AM10/31/22
to Django users
Could someone tell me how I can add new values ​​to the variables of settings.py?

Thanks

Kasper Laudrup

unread,
Oct 31, 2022, 9:42:30 AM10/31/22
to django...@googlegroups.com
On 31/10/2022 13.28, emilton mendoza wrote:
> Could someone tell me how I can add new values ​​to the variables of
> settings.py?
>

The same way you would add new values to any other Python variable.

Kind regards,

Kasper Laudrup
OpenPGP_0xE5D9CAC64AAA55EB.asc
OpenPGP_signature

Paul Kudla

unread,
Oct 31, 2022, 12:45:41 PM10/31/22
to django...@googlegroups.com

just add them using a text editor (vi etc)

when you need to access them an import settings (already shoud be done)
will present them

python 101 stuff more then django

fyi



Happy Monday !!!
Thanks - paul

Paul Kudla


Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3

Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email pa...@scom.ca
> --
> 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...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ddf803a2-d90b-45e4-a3c9-920ff73a43abn%40googlegroups.com <https://groups.google.com/d/msgid/django-users/ddf803a2-d90b-45e4-a3c9-920ff73a43abn%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.

subin

unread,
Nov 3, 2022, 4:49:34 PM11/3/22
to django...@googlegroups.com
Thanks again for all your help.

To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d85631c6-8a6f-cd32-8dd0-2b391278e80a%40scom.ca.

subin

unread,
Nov 3, 2022, 4:52:17 PM11/3/22
to django...@googlegroups.com
Thanks for entering the XYZ Company spring sweepstakes! We’ll reach out to the winners on August 31 by noon PST.

--
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...@googlegroups.com.

subin

unread,
Nov 3, 2022, 4:52:49 PM11/3/22
to django...@googlegroups.com
Have a good day.

On Mon, Oct 31, 2022 at 2:34 PM emilton mendoza <emil...@gmail.com> wrote:
Could someone tell me how I can add new values ​​to the variables of settings.py?

Thanks

--
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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages