Re: There seems an issue in Django(1.11)'s password displaying form in admin site.

2017-04-19 Thread Xdynix
Thank you Simon, it's good to hear that. 在 2017年4月20日星期四 UTC+8上午10:03:27,Simon Charette写道: > > Hey there, > > It looks like it has been fixed already[0] and will be part of the > upcoming 1.11.1 release. > > Cheers, > Simon > > [0] > https://github.com/django/django/commit/dff559ff83a6aac14de0bb

Re: There seems an issue in Django(1.11)'s password displaying form in admin site.

2017-04-19 Thread Simon Charette
Hey there, It looks like it has been fixed already[0] and will be part of the upcoming 1.11.1 release. Cheers, Simon [0] https://github.com/django/django/commit/dff559ff83a6aac14de0bbca58101786edf4195f Le mercredi 19 avril 2017 17:31:47 UTC-4, Xdynix a écrit : > > Hello everyone. > > I'm new

Re: send email with django

2017-04-19 Thread sum abiut
Have you install the sendgrid backend? what is the error message you are getting On Thu, Apr 20, 2017 at 8:48 AM, shahab emami wrote: > but that doesn't work for me too. > > i sign up in sendgrid and this is my new settings.py > > EMAIL_HOST = 'smtp.sendgrid.net' > EMAIL_HOST_USER = 'my_accoun

Re: Django 1.11 doesn't work well behind pgBouncer

2017-04-19 Thread David Baum
Yep, we are experiencing the same issue after the upgrade, downgraded back to the working version - 1.10.7 On Thursday, April 6, 2017 at 10:32:03 PM UTC+3, Sergey Fursov wrote: > > Hi! > > In our application stack we connect from our web/background workers to > postgres database through dedicat

Re: send email with django

2017-04-19 Thread shahab emami
but that doesn't work for me too. i sign up in sendgrid and this is my new settings.py EMAIL_HOST = 'smtp.sendgrid.net' EMAIL_HOST_USER = 'my_account' EMAIL_HOST_PASSWORD = 'mypassword' EMAIL_PORT = 587 EMAIL_USE_TLS = True not on localhost and not on heroku On Thursday, April 20, 2017 at 1:38

There seems an issue in Django(1.11)'s password displaying form in admin site.

2017-04-19 Thread Xdynix
Hello everyone. I'm new to django community and I'm not sure what should I do to what I found. So I decide to post it here. I would be very appreciated if someone could tell me whether it is still an issue or it has been fixed. And what should I do next. After I update my django from 1.10 to 1

Re: send email with django

2017-04-19 Thread sum abiut
I am also using sendgrid it works very well. On Thu, Apr 20, 2017 at 6:56 AM, shahab emami wrote: > but it's free for 30 days. what i have to do after 30 days? > > On Wednesday, April 19, 2017 at 6:18:38 PM UTC+4:30, Thiago Luiz Parolin > wrote: >> >> i am using sendgrid for send emails...the fr

Some reversible migrations cannot be reversed in practice?

2017-04-19 Thread paul
I've just hit a tricky migration case, and I'd like to check I'm not missing something. The summary is that merge migrations make it possible to add migrations which cannot be unapplied, even if they are the latest migration to be run. With the migration graph: M1 | +--+ | | M2a M2b

Re: send email with django

2017-04-19 Thread shahab emami
but it's free for 30 days. what i have to do after 30 days? On Wednesday, April 19, 2017 at 6:18:38 PM UTC+4:30, Thiago Luiz Parolin wrote: > > i am using sendgrid for send emails...the free service works very well for > me...there is a paid version too.. > sendgrid can be integrated into django

Re: Annotated queryset + Prefetch object

2017-04-19 Thread Jose Kilo
Hello Simon, That issue looks very similar indeed. I will keep an eye on that ticket. Thanks for your reply. Jose El domingo, 9 de abril de 2017, 1:58:55 (UTC+1), Simon Charette escribió: > > Hello Jose, > > I wouldn't be surprised if this was caused by a Django bug with prefetches > doing >

Re: AttributeError: module 'polls.views' has no attribute 'index'

2017-04-19 Thread Billy Lin
Thanks for your reploy. Actually I followed the tutorial exactly. My polls/views.py has: from django.http import HttpResponse def index(request): return HttpResponse("Hello, world. You're at the polls index.") My polls/urls.py has: from django.conf.urls import url from . import views u

Re: send email with django

2017-04-19 Thread Thiago Luiz Parolin
i am using sendgrid for send emails...the free service works very well for me...there is a paid version too.. sendgrid can be integrated into django https://sendgrid.com/docs/Integrate/Frameworks/django.html 2017-04-19 8:46 GMT-03:00 Carl : > As a counter-perspective, we have this working wit

Re: AttributeError: module 'polls.views' has no attribute 'index'

2017-04-19 Thread m712 - Developer
You didn't give us enough info, but I am thinking that you don't have an index() function in your polls/views.py. Start the tutorial from the beginning and follow it closely. On Apr 19, 2017 4:17 PM, Billy Lin wrote:I'm following the getting started tutorial 01 and running into issues after creati

AttributeError: module 'polls.views' has no attribute 'index'

2017-04-19 Thread Billy Lin
I'm following the getting started tutorial 01 and running into issues after creating the polls app. Can someone please help? I'm using Python 3.6.1 and Django 1.11. Here's the detailed trace: Performing system checks... Unhandled exception in thread started by .wrapper at 0x04222810> Traceback

Align radio buttons horizontally in django 1.11

2017-04-19 Thread BIJAL MANIAR
Hi, I'm trying to upgrade existing application from 1.4 to 1.11. Below snippet of code to align radio buttons horizontally is working fine with django 1.4 from django.utils.safestring import mark_safe class HorizontalRadioRenderer(forms.RadioSelect.renderer): def render(self): return mar

Re: send email with django

2017-04-19 Thread Carl
As a counter-perspective, we have this working with a paid G Suite (formerly Google Apps) account. *Important* We had to register the IP address of our server with G Suite. This Google support document outlines the process: SMTP relay: Route outgoing non-Gmail messages through Google https://supp

Re: send email with django

2017-04-19 Thread shahab emami
i have seen a few tutorial that use Gmail account for sending email. like this: http://stackoverflow.com/questions/31324005/django-1-8-sending-mail-using-gmail-smtp https://www.youtube.com/watch?v=51mmqf5a0Ss and more. but tried with yahoo email too . then i changed my settings.py to this: EMAI

Re: Displaying multiple images in a blog post

2017-04-19 Thread HBat
Thanks for the response. If I put a template tag within the post.body then the tags might not be rendered because only detail.html will be rendered the tags within the post. body will be seen as raw texts. Currently, I'm thinking about using an approach like Markdown images

django conditional view processing decorator issue

2017-04-19 Thread Safi Ali
Hi, I have been trying to use the django conditional view processing feature. Basically I want to deny update operations on an entity if it has since been modified by another user, and that seems to work well with the @condition decorator provided by django. However there is one issue which I n

Re: send email with django

2017-04-19 Thread Jani Tiainen
Also, don't fail silently it would be helpful to see actual error that happens... On 19.04.2017 00:25, shahab emami wrote: hello i want to send email using django. i used to send email with pour python before but now i can't do that in django. i have search about this and i have seen some

Re: send email with django

2017-04-19 Thread Jani Tiainen
Have you enabled app in Google mail account? You can do that through url https://accounts.google.com/DisplayUnlockCaptcha On 19.04.2017 00:25, shahab emami wrote: hello i want to send email using django. i used to send email with pour python before but now i can't do that in django. i have

Re: Crone Job Issue

2017-04-19 Thread Christian Ledermann
how does you medels.py look like? I have a hunch the definition of updated is updated = DateTimeField(default= timezone.now()) instead of updated = DateTimeField(default=timezone.now) On 18 April 2017 at 16:05, wrote: > Hi All , > > I am new for Django Framework , I need your help to fix this