Autocompletelight 3.3.0 Forward Problem

2018-08-01 Thread umarcja
Hi, I'm currently learning Django and I've tried the autocomplete-light framework base on Select2. The problem i'm facing is that I want to Forward input field information to filter another input field. There is a lot of information about that on the internet and on the autocomplete-light

Re: Channels/Redis fault tolerance with Twemproxy?

2018-08-01 Thread Filbert
Well in digging through posts I see Sentinel may be an option, does that mean if my CHANNEL_LAYER would have a single host entry? On Wednesday, August 1, 2018 at 9:42:39 AM UTC-4, Filbert wrote: > > Thanks Andrew, > So with a load-balanced ten web server implementation using Channels (and > of

Re: Oracle with Django

2018-08-01 Thread Tim Graham
What's the error? Did you read the Oracle notes? https://docs.djangoproject.com/en/stable/ref/databases/#oracle-notes On Wednesday, August 1, 2018 at 4:04:53 PM UTC-4, Md. Razibul Hasan Mithu wrote: > > I didn't find any way to connect oracle 11g with django. It still gives me > error > > On

Re: Oracle with Django

2018-08-01 Thread Md. Razibul Hasan Mithu
I didn't find any way to connect oracle 11g with django. It still gives me error On Wed, Aug 1, 2018, 9:52 PM Jason wrote: > A quick google query 'django oracle` returns a number of recent results > and tutorials including a link directly to the docs. What work have you > done to look into

Aa

2018-08-01 Thread Luca Subiaco
-- 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 django-users@googlegroups.com.

Need to query a resultset from database in Django using a form

2018-08-01 Thread ryerekar
I have a form which is editing a database entry and saving the changes back to the database. after the changes are saved, I want to redirect to a contract.html, where I want to populate the details of that entry. below is the view: *def edit_res(request, pk=None): if request.method ==

Re: CI build failing but local builds pass

2018-08-01 Thread Ajat Prabha
The issue is fixed now, it happened because Travis used PostgreSQL v9.2 by default and Django v2.1 works with v9.4+ (changelog ) On Wednesday, 1 August 2018 23:47:16 UTC+5:30, Ajat Prabha wrote: > > Hi, >

RE: External DB layout, two column as PK, modification not possible

2018-08-01 Thread Matthew Pava
I did some Google searches for you. There’s still an open ticket for it, open for the past 12 years: https://code.djangoproject.com/ticket/373 There’s plenty of people asking the same question. Here’s one on Stack Overflow:

CI build failing but local builds pass

2018-08-01 Thread Ajat Prabha
Hi, I'm working on a hobby project and the issue I'm facing is that the CI build is failing and I'm not sure why is this happening. The only difference is that I updated

External DB layout, two column as PK, modification not possible

2018-08-01 Thread Kevin Olbrich
Hi! I got the following table definition on inspect db: class KevinExample(models.Model): *code = models.CharField(db_column='Code', primary_key=True, max_length=50) # Field name made lowercase.lineid = models.IntegerField(db_column='LineId') # Field name made lowercase.* object

Re: Oracle with Django

2018-08-01 Thread Jason
A quick google query 'django oracle` returns a number of recent results and tutorials including a link directly to the docs. What work have you done to look into this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Oracle with Django

2018-08-01 Thread Md. Razibul Hasan Mithu
Is it possible to connect Oracle 11g with Django 1.8? Is there exist any method then kindly let me know. -- 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 2.1 released

2018-08-01 Thread Tim Graham
Django 2.1 is now available: https://www.djangoproject.com/weblog/2018/aug/01/django-21-released/ With the release of Django 2.1, Django 2.0 has reached the end of mainstream support. The final minor bug fix release (which is also a security release), 2.0.8, was issued today. Django 2.0 will

Django security releases issued: 1.11.15 and 2.0.8

2018-08-01 Thread Tim Graham
Today the Django team issued 1.11.15 and 2.0.8 as part of our security process. These releases address a security issue, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2018/aug/01/security-releases/ As a reminder, we ask that potential security

Unable to view chart as a seperate webpage

2018-08-01 Thread Sagar T
*details_page.html : * https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/> {% load staticfiles %} https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js";> https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.0/Chart.min.js";>

Re: Channels/Redis fault tolerance with Twemproxy?

2018-08-01 Thread Filbert
Thanks Andrew, So with a load-balanced ten web server implementation using Channels (and of course ten instances of redis) do I have a HA solution then? RIght now Django settings simply has a list of those servers in CHANNEL_LAYERS, what if (say) three of them crash, will Channels continue to

Re: Problems Faced with some login requirements. Please read the thread below

2018-08-01 Thread Jason
About the only thing I would do is change your session storage db from your regular db to redis or memcached. That would lower your db load with unnecessary session validation and offload it to either, which are built for fast key-value retrieval. Not sure of your user load, but I would be

Re: i want to save is_staff value true in db but not save in database

2018-08-01 Thread mazz ahmed
set is_staff to true to Account model in django model after that save method will be called On Wed, Aug 1, 2018 at 1:06 PM, lalitaquasoft wrote: > *Advance Thanks for your help:* > > > *is_staff value is not save in database* > > *Here is Code:* > > from django.contrib.auth import login,

django.db.models.Model save method doesn't call full_clean (Django 1.11.14)

2018-08-01 Thread Uri Even-Chen
Hi, I noticed that django.db.models.Model save method doesn't call self.full_clean(). Is it a good practice to call self.full_clean() in my own models (which subclass django.db.models.Model) save method before calling "super().save(*args, **kwargs)"? I tried to add it in my models but I received

Re: Live Streaming Video through WebCam

2018-08-01 Thread mottaz hejaze
this is awesome man .. On Tue, 31 Jul 2018, 16:20 Pravin Yadav, wrote: > *Hello Everyone, I'm using the Live Streaming Video through WebCam. It's > storing in .avi format. When i'm playing the Video. I'm not getting the > audio of that video. I hope that opencv does not provide the audio >

i want to save is_staff value true in db but not save in database

2018-08-01 Thread lalitaquasoft
*Advance Thanks for your help:* *is_staff value is not save in database* *Here is Code:* from django.contrib.auth import login, authenticate from django.shortcuts import render, redirect from blog.forms import SignUpForm def signup(request): if request.method == 'POST': form =

Problems Faced with some login requirements. Please read the thread below

2018-08-01 Thread vineeth sagar
Hi, So we are currently doing a project where the client wants the session to expire at browser close and also prevent multiple logins from the same account. Well there are some ways to implement the multiple login thing, consider this say user closes the browser, the session cookie expires.

Re: How to write api for sms intregartion in django I am new in django?

2018-08-01 Thread imran
I just want to test other wise I can load the data dynamically On Wednesday, August 1, 2018 at 1:06:12 PM UTC+5:30, Mark Caglienzi wrote: > > On Wed, 2018-08-01 at 00:26 -0700, im...@wsegames.com > wrote: > > Here is my code > > > > > > class RegisterView(CreateView): > > form_class =

Re: How to write api for sms intregartion in django I am new in django?

2018-08-01 Thread Mark Caglienzi
On Wed, 2018-08-01 at 00:26 -0700, im...@wsegames.com wrote: > Here is my code > > > class RegisterView(CreateView): > form_class = RegisterForm > template_name = 'accounts/register.html' > success_url = '/success-membership/' > > def form_valid(self, form): > url =

Re: How to write api for sms intregartion in django I am new in django?

2018-08-01 Thread imran
Here is my code class RegisterView(CreateView): form_class = RegisterForm template_name = 'accounts/register.html' success_url = '/success-membership/' def form_valid(self, form): url = "http://enterprise.smsgupshup.com/GatewayAPI/rest; payload =

Re: How to write api for sms intregartion in django I am new in django?

2018-08-01 Thread imran
I want to write api how to write can you help me? On Wednesday, August 1, 2018 at 12:47:55 PM UTC+5:30, Tim Vogt wrote: > > > https://www.twilio.com/blog/2014/04/building-a-simple-sms-message-application-with-twilio-and-django-2.html > > > Op 1 aug. 2018, om 09:15 heeft im...@wsegames.com het >

Re: How to write api for sms intregartion in django I am new in django?

2018-08-01 Thread Tim Vogt (Tim Vogt)
https://www.twilio.com/blog/2014/04/building-a-simple-sms-message-application-with-twilio-and-django-2.html > Op 1 aug. 2018, om 09:15 heeft im...@wsegames.com het volgende geschreven: > > I want to write a api when form submit a sms should go to the phone, I don't > know how to do that can

How to write api for sms intregartion in django I am new in django?

2018-08-01 Thread imran
I want to write a api when form submit a sms should go to the phone, I don't know how to do that can somone help me regarding this? -- 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

Re: django-modeltranslation latest stable release not supporting Django 2.0

2018-08-01 Thread Andréas Kühne
Hi, This is not an issue for the django-users group, but rather, as you already have done, open an issue on the repository itself. What you also can do is go through the code and issue a PR to fix the changes required for supporting django 2.0 - the developer will probably happily accept the