Re: Django newbie issues

Janelle

Your quickest solution is to reveal your location and ask for someone to
help out on a short-term basis. There are heaps of Django people
everywhere and many inhabit this list.

What you are asking for is possibly quite easy but can defeat you if you
are unfamiliar with the environment/infrastructure or don't have the
necessary password at hand. You have to know where to look.

In any case try this on Ubuntu

1. In a terminal enter python manage.py runserver

2. Cross your fingers

3. In a browser on the same machine visit ...

http://127.0.0.1:8000/admin

If you can't get past there start looking in settings for clues.

Good luck

Mike

On 7/07/2014 9:36 AM, Janelle O'Dea wrote:
> Hi all,
>
> I have two separate Django questions.
>
> One: I am trying to learn how to use Django on my computer (Mac OS,
> Mavericks) and was first getting the error "unable to open database"
> when running "python manage.py syncdb." To fix it, I followed
> instructions from here: https://coderwall.com/p/gl_grw
> Now, I can't save settings.py. I realize this may have to do with the
> advice to change permissions on the page I just linked to; how can I
> change them back?
> When I run the "python manage.py syncdb" command now, it tells me
> there's a syntax error in settings.py. When I try to fix settings.py and
> save it, it tells me ERRNO 13 permission denied.
> I'm mainly trying to get a feel for Django because I may want to use it
> in the near future.
>
> Two: At my workplace, someone produced a Django app on Ubuntu. The app
> is a source database for reporters to view and add to (I work at a
> newspaper). The main question: can I get the source information out of
> this database so that we can recover it and use it, even if the original
> creator of this app/database is not available? He isn't responding to
> phone calls or emails, and bosses want me to see if I can extract the
> info. I've never worked in Ubuntu before.
>
> Thanks for any help that anyone can provide.
>
> --
> 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+unsubscribe@googlegroups.com
> <mailto:django-users+unsubscribe@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@googlegroups.com>.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9aaa4414-3cab-4e6b-b916-cf70dd08147e%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9aaa4414-3cab-4e6b-b916-cf70dd08147e%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/53B9FCDE.3020504%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.