Re: Having ERROR running Django project !!!

2018-03-29 Thread Jamaldin Pro
Thank you! On Thursday, March 29, 2018 at 8:07:07 PM UTC+6, Jani Tiainen wrote: > > Yes. I managed to "fix" your code., > > https://github.com/XJoma/mk-center1/blob/master/home/views.py#L47 > > Firstm never, ever pass locals() anywhere it's best way to introduce a lot > of bugs. Also you have

Re: Having ERROR running Django project !!!

2018-03-29 Thread Jani Tiainen
Yes. I managed to "fix" your code., https://github.com/XJoma/mk-center1/blob/master/home/views.py#L47 Firstm never, ever pass locals() anywhere it's best way to introduce a lot of bugs. Also you have quite a good record of from foo import * which is as bad as well. But your problem is that

Re: Having ERROR running Django project !!!

2018-03-29 Thread Jamaldin Pro
Can you help? -- 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

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jamaldin Pro
https://github.com/XJoma/mk-center1 django version 1.11.5 now you have my project. So fix my problem plz !!! It is my first time uploading so I don't know how to not show my password -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jani Tiainen
Hi. Preferably whole project for example put it in github. If you upload your project remember to remove sensitive data like your database passwords. 28.3.2018 5.35 ip. "Jamaldin Pro" kirjoitti: It is unknown and When I try to open it, it shows programs to open with

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jamaldin Pro
> > It is unknown and When I try to open it, it shows programs to open with > I'm choosing chrome and my site opens without css/static/js I think that is > html file > DEBUG = True Can you tell me what files you need because I have a lot of files.setting.py? / wsgi.py? / urls.py? / template

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jani Tiainen
Hi. Unfortunately you really don't provide anything helpful, and yelling here doesn't get you very far. Have tried to check out what that "unknown file" contains? Also have you used your browser debugger tools to verify that you don't get errors that for some reason is shadowed by your browser?

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jamaldin Pro
I see no logs error and When I run it from chrome this error happens but when I try to use it from Internet e.version~9 it works normally, I can deal with it but also when I deploy to pythonanywhere there is error too. Yes I run it "python manage.py runserver" -- You received this message

Re: Having ERROR running Django project !!!

2018-03-26 Thread Julio Biason
Hi Jamaldin, Kinda hard to help you here, because there is a lot of information lacking. Like, do you see any errors on your logs? Are you running in dev environment (like in `python manage.py runserver`) or are you running with a webserver (nginx) in front of it? Are you using

Having ERROR running Django project !!!

2018-03-26 Thread Jamaldin Pro
Hello I was creating a Djnago project and when I finish it, it was working perfectly but when I start adding ("name"/"text"/"information") to models from admin page, It stops working I mean after adding I can't open my home page. *If I will try to open it, it auto downloads unknown file*. *I