Re: help for creating relationship between User model an another model !!

2016-11-21 Thread C. Kirby
If you could provide the whole error message it would help us identify where your error is. On Tuesday, November 22, 2016 at 3:16:51 AM UTC+2, adonis simo wrote: > > Hi django users, > I am new to django and i am using django 1.10, i follow up all the > tutorial in the documentation and now i ha

help for creating relationship between User model an another model !!

2016-11-21 Thread adonis simo
Hi django users, I am new to django and i am using django 1.10, i follow up all the tutorial in the documentation and now i have build an blog application with models like : Article , Commentaire(comment in english) and Tag. It's working but now i want to add an relation between User (the one wh

[ANNOUNCE] Django security advisory: Vulnerability in password reset (master branch only)

2016-11-21 Thread Tim Graham
We don't normally give security advisories for issues that affect only the master branch, but in this case we've made an exception as the issue could be high impact. Please see the blog post for details: https://www.djangoproject.com/weblog/2016/nov/21/passwordresetconfirmview-security-advisory/

Using PythonAnywhere, Django, Github, and MySQL

2016-11-21 Thread Alexander Joseph
Hello, I am newly learning django, and have decided to use pythonanywhere and github for publishing/hosting my apps. I've been using php and mysql for a few years and like mysql. But I need some help with the initial setup so that everything works/clones smoothly between my app on my local compu

Re: Help with runserver

2016-11-21 Thread NS
Update: I tried using port 8080 and now everything works! I think that something was using port 8000, but I'm not sure what. You were right, I tried localhost:8000 without the Django server on and and it had the same message. I did not hit the Django server. On Sunday, November 20, 2016 at 4:09

Upload Images from Remote Server

2016-11-21 Thread pradam programming
hi Guys, 1.I have Created an API which store images into database just giving image path but issue is when i remotely upload image using API i will get the following error show no such file or Directory eg: [ {'name':'foo','date':'2016-11-21','organization_name':'buzz','description':'Abhilash','im

Re: django_admin database creation, after sql command depreciated

2016-11-21 Thread Yalın Aksoy
On Friday, November 18, 2016 at 7:36:05 PM UTC+3, Michal Petrucha wrote: > > On Fri, Nov 18, 2016 at 12:07:40AM -0800, Yalın Aksoy wrote: > > > > > > Hello, > > > > > > I was using django 1.3 and python 2.4 for a big scale project. I > > decided to update it to django 1.9 and python 2.7.

Re: How to create a django model for a resume/CV app

2016-11-21 Thread ludovic coues
I would be tempted to hook the admin site directly into the website. Django's admin let you specify each form template so the look isn't an issue. Putting a specific view from the admin at a specific url is a bit more complex. Should be doable but maybe not easily or cleanly. Short of doing that,

Re: Loading the content of an iframe

2016-11-21 Thread ludovic coues
This is an HTML problem, not a django one. You can try to set a property target="iframe1" on your link. Like that: welcome 2016-11-19 23:01 GMT+01:00 Gary Roach : > Hi all, > > I am really stumbling around with my project at present. I am relatively new > to both Python and Django and have starte