Sunday, April 23, 2017

Re: How to set mysql database in setting up django setup in eclipse ?

I don't use Eclipse for development, but your screenshot says "Django
version 1.1 or earlier" which is awfully old, we are at 1.11, as in
there was a versions 1.2 1.3 1.4 1.5 .... 1.11.

settings file has changed a lot since that time.

On 4/23/17, Pubudu Goonetilleke <pubuducg@gmail.com> wrote:
> Hi,
> I am very new to web programming and trying to learn ABCs of this whole new
>
> thing. I am following some online tutorials and facing some few things that
>
> I am trying to understand.
> first, when I create dJango (1.11) project in eclipse (Neon 3) in pyDev
> (latest), I set data base information as follows :
>
> <https://lh3.googleusercontent.com/-pi5AEaqc8CM/WPzmCoCAAxI/AAAAAAAA29g/C02KJL6-6v4PMIT0spFs0b_FPdkNX9E2wCLcB/s1600/dJango%2Bproject%2B-%2Bdatabase.png>
>
>
> new my issue is that when I open the *settings.py *it does not show the
> setting as I expect.
> it is like follows :
>
> <https://lh3.googleusercontent.com/-ldCtNzqUTO8/WPzmchFcakI/AAAAAAAA29k/TqvgbtnDUGMAiiPwgWdzW0-1C9Crh9ucgCLcB/s1600/DATABASES%2B-%2Bcode.png>
>
>
>
> what I expect as per the tutorials is as follows : (I manually typed it)
>
>
> <https://lh3.googleusercontent.com/-xU7jLtJ-2sI/WPzmlYW9oOI/AAAAAAAA29o/-RvGT7FbD_ob_3sZirt7yCKrIaZfDAq9gCLcB/s1600/DATABASES%2B-%2Bcode%2Bsecond.png>
>
>
> I know I could type this into the *setting.py, *but trying to understand
> why does it not create that automatically during setup since that
> information is already entered in the dialog.
>
> Thank you for the help in advance.
>
>
> Thanks,
>
> Pubudu
>
>
>
>
> --
> 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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9f30f786-adae-455f-8411-ab4a29645079%40googlegroups.com.
> 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 https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei04Vp9wck79BnmnMRdkgZZi%2BZQQowBf%2Bpv6RqwV42gqTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment