Re: Internet Explorer question

2017-06-16 Thread Andréas Kühne
Hi, If you target corporate users, you will have to test IE. I would say that that is a requirement. The draggable corner of a TextField is a browser implementation for example and doesn't exist in IE (as you now have experienced). However the javascript problems you are seeing should "just work",

Re: Failed building wheels for twisted

2017-06-16 Thread yingi keme
I really dont know how to post it. > Okk, > > So what i had to do is, download the Twisted .whl file from this link: > > http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted > > You have to choose which is compatible with your python version. Mine is > python 3.5 and win32. So make sure you choo

Images are not displaying

2017-06-16 Thread Santosh Yelamarthi
Hi, am using django 1.10 version. am unable to display images in web. my app name -- polls I created templates directory and i put my *home.html* over there ** ** ** ** ** ** I created static folder and i put my image *logo.jpg* over there In my views file I imported home.html : *from django

I did the tutorial successfully but couldn't find similar examples for small project (for better understanding of Django programming)

2017-06-16 Thread softie . coder
Hi! I'm doing OOP now for some years (C++/C#, no Python) but never had much contact with database stuff. I did the tutorial in a virtualenv ((nearly?) current Python 3.6 for Windows and Django 1.11). Now, for better understanding of Django, I'd like to program a small website (just for interna

Re: User has no dcf_profile : RelatedObjectDoesNotExist

2017-06-16 Thread 'Abraham Varricatt' via Django users
On Friday, June 16, 2017 at 7:06:33 AM UTC-4, Nabil BOUDERBALA wrote: > > After extending an existing user model, I get RelatedObjectDoesNotExist > exception with a value User has no dcf_profile. I seems that dcf_profile > isn't created automatically for each user. > It took me awhile to figure

Re: Images are not displaying

2017-06-16 Thread 'Abraham Varricatt' via Django users
If this is a production deployment, you probably need to run collectstatic and test if static files are being served correctly - more a deployment issue than a django matter. But, if you are testing with 'runserver' on a development system ... without exact knowledge of your folder structure,

DSasS(Data Science as Service)

2017-06-16 Thread Arshpreet Singh
There is a project I am working on which is Platform. Data Science as Service. A Platform where almost anyone can do Data Science with Few Clicks. SearchBusinessAnalytics spoke with DataScience CEO and founder Ian Swanson about the burgeoning data science as a service space. He discussed what

Re: Images are not displaying

2017-06-16 Thread Carl
Hi! Because static is a folder on the root of your website, try putting a slash in front of static; for example, Hope this helps. :-) Sincerely, Carl Original Message Subject: Images are not displaying Local Time: June 16, 2017 1:44 AM UTC Time: June 16, 2017 5:44 AM From: s

Re: Images are not displaying

2017-06-16 Thread Antonis Christofides
Hello, > ** This is probably missing a slash before "static"; it should be like this: But a better way is this: {% load static %} ... If you are on production rather than development, see also this: https://djangodeployment.com/2016/11/21/how-django-static-files-work-in-production/ Regard

Re: Error even after following the django documentation

2017-06-16 Thread danbmathew
Thanks for the reply.Well i used the same model shown in the documentation.I even cross checked all my codes to verify that anything is out of place.Even then the error appears. On Thursday, June 15, 2017 at 11:12:55 PM UTC+5:30, Hemhem wrote: > > TypeError: 'choice_text' is an invalid keyword

Re: Error even after following the django documentation

2017-06-16 Thread Andréas Kühne
Hi, Could you please include your models.py file? So that we can see the model declarations. Regards, Andréas 2017-06-16 14:07 GMT+02:00 danbmathew : > Thanks for the reply.Well i used the same model shown in the > documentation.I even cross checked all my codes to verify that anything is > ou

RE: how to combine views in one template

2017-06-16 Thread Matthew Pava
Hi Mark, You would pass the form in the context of the template in the view. You can pass pretty much anything to a template through the context. def builddetails(request, id): build = Build.objects.get(pk=id) form = BuildForm(request.POST or None) if form.is_valid(): form

RE: Internet Explorer question

2017-06-16 Thread Matthew Pava
The only Microsoft-supported version of IE is version 11. And it seems to work just fine for me in Django Admin 1.10. If you users aren’t using version 11, I would start there. Then check the computer; maybe the user needs to delete some temporary files. From: django-users@googlegroups.com [

Re: how to combine views in one template

2017-06-16 Thread yingi keme
def builddetails(request, id): build = Build.objects.get(pk=id) Obj = BuildForm(request.POST) Obj.save() return render(request, .) > On 16 Jun 2017, at 12:03 AM, Mark Alan Jones wrote: > > Hello Django Community, > > I am new to Django and tackling my first app outside of

Custom field implementing Boolean Field is having response value as None instead of False

2017-06-16 Thread Priyanka Thakur
Hi, I am doing migration from Django 1.7 to 1.10 version and has a custom django field. Below is the custom class for the field: from django.db import models class HibernateBooleanField(models.BooleanField): def from_db_value(self, value, expression, connection, context):

Re: User has no dcf_profile : RelatedObjectDoesNotExist

2017-06-16 Thread Melvyn Sopacua
On Friday 16 June 2017 03:17:00 Nabil BOUDERBALA wrote: > After extending an existing user model, I get > RelatedObjectDoesNotExist exception with a value User has no > dcf_profile. I seems that dcf_profile isn't created automatically for > each user. That's correct. That's your job and the docume

Re: DSasS(Data Science as Service)

2017-06-16 Thread Melvyn Sopacua
On Friday 16 June 2017 04:45:22 Arshpreet Singh wrote: > So basically there will be few ML models and I will feed those some > variables and will get some output. Before writing any kind of code I > am interested in the architecture of the whole system. Django is the > option to use and do things

Re: Custom field implementing Boolean Field is having response value as None instead of False

2017-06-16 Thread Melvyn Sopacua
On Friday 16 June 2017 07:33:22 Priyanka Thakur wrote: > Hi, > > I am doing migration from Django 1.7 to 1.10 version and has a custom > django field. > > Below is the custom class for the field: > > > > from django.db import models > > > > class HibernateBooleanField(models.BooleanFiel

Re: Raw SQL - How to approach paging and lazy fetching

2017-06-16 Thread Kevin Yu
Hi Jani, Thanks for the link. I was aware of this link and actually followed the steps when I started the project. I tried using model but then found out when i need to query a join, it doesn't seem to work unless there's a foreign key between the two models, however, given it's a legacy databa

Re: DSasS(Data Science as Service)

2017-06-16 Thread Frank Gau
+1 for this excellent summary! On Fri, Jun 16, 2017 at 05:09:11PM +0200, Melvyn Sopacua wrote: > On Friday 16 June 2017 04:45:22 Arshpreet Singh wrote: > > > > So basically there will be few ML models and I will feed those some > > variables and will get some output. Before writing any kind of

Re: Raw SQL - How to approach paging and lazy fetching

2017-06-16 Thread Jani Tiainen
Yes, even there isn't real foreign keys in the database you can still join models. Have been doing that few times with legacy database. When defining fkey you need to point it to corresponding field in fkey attributes in your model if it isnt your target model pk. And you can join nonmanged mode

Re: DSasS(Data Science as Service)

2017-06-16 Thread A.S. Khangura
On Fri, Jun 16, 2017 at 8:39 PM, Melvyn Sopacua wrote: > Pretty much. Yes that Explains almost everything we need to know for now. :) Any way you could make me go through Architecture Design of system. Or any kind of open-Source project where I would be able to study things and look for how I c