Re: editing python module
Never mind. I knew I was being a complete idiot about this. THe scroll bar apparently doesn't show up until you hover over it, and I didn't realize that only the bottom page of the file was showing. On Thursday, July 4, 2013 10:46:46 AM UTC-4, Jennifer Look wrote: > > I am brand new to all this, and just starting to work my way through the > Django tutorial. I got to the "Database setup" step, where it says to edit > mysite/settings.py > and I'm stymied. > The previous step was to start the development server. I should quit the > server before editing variables, right? > How do I edit the settings.py file? It seems like I should just be able to > open the file in a text editor, but I can't seem to figure our how from the > bask prompt. > > Thanks for any suggestions! > Jen > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: editing python module
Oh, I should probably mention that I'm on a Mac Os X 10.8 and running djangostack from BitNami On Thursday, July 4, 2013 10:46:46 AM UTC-4, Jennifer Look wrote: > > I am brand new to all this, and just starting to work my way through the > Django tutorial. I got to the "Database setup" step, where it says to edit > mysite/settings.py > and I'm stymied. > The previous step was to start the development server. I should quit the > server before editing variables, right? > How do I edit the settings.py file? It seems like I should just be able to > open the file in a text editor, but I can't seem to figure our how from the > bask prompt. > > Thanks for any suggestions! > Jen > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: editing python module
> > Thanks Tom! I had tried reading settings.py into nano but it didn't look > anything like I expected, so I thought I was doing it wrong. I was > expecting a list of variables like ENGINE, NAME, etc but instead what I see > is: > >}, > 'loggers': { > 'django.request': { > 'handlers': ['mail_admins'], > 'level': 'ERROR', > 'propagate': True, > }, > } > } > Am I supposed to create the keys inside the request bracket? Or am I just reading the settings.py file in incorrectly somehow? -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
editing python module
I am brand new to all this, and just starting to work my way through the Django tutorial. I got to the "Database setup" step, where it says to edit mysite/settings.py and I'm stymied. The previous step was to start the development server. I should quit the server before editing variables, right? How do I edit the settings.py file? It seems like I should just be able to open the file in a text editor, but I can't seem to figure our how from the bask prompt. Thanks for any suggestions! Jen -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.