Re: Django's search

2016-03-28 Thread Mario Gudelj
http://stackoverflow.com/questions/3538999/django-admin-search-how-to-override-the-default-handler On Monday, 28 March 2016, wrote: > I need know how change the search that come with Django's Admins. > > -- > You received this message because you are subscribed to the Google Groups > "Django use

Getting NoReverseMatch at /logout/

2016-03-28 Thread Deepanshu Sagar
Hello, I am getting below error while clicking on logout button on webpage: boardgames/url.py contains: main/urls.py and views.py are below. please guys, any help is appreciated. Regards Deepanshu -- You received this message because you are subscribed to the Google Groups "Django

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread monoBOT
That url doesnt exist on your urls.py looks like you are trying to navigate to "boardgames_home" when trying to access the "/" url name is for reverse lookups from inside the django app not for the urls. 2016-03-28 10:49 GMT+01:00 Deepanshu Sagar : > Hello, > > I am getting below error while cl

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread Deepanshu Sagar
Oh okay, So, If I want to navigate to home page, which is at '/', how do it give the parameter for this along with next_page key-value pair? url(r'^logout/$', auth_views.logout, {'next_page': 'boardgames_home'}, name='boardgames_logout'), Thank you for the reply though. Regards Deepanshu

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread ludovic coues
Your problem might be mixing include and name in the urls.py file. reverse("home") should give you better result. 2016-03-28 13:31 GMT+02:00 Deepanshu Sagar : > Oh okay, > > So, If I want to navigate to home page, which is at '/', how do it give > the parameter for this along with next_page key-v

Re: Django Forms vs Angularjs

2016-03-28 Thread Gorkem Tolan
I was working on it last couple of days. Basically I came up with what Fabio's solution. Thanks Daniel for 'disabled' field comment as well. On Saturday, March 26, 2016 at 8:49:17 AM UTC-4, Daniel Hepper wrote: > > Fabio, > > if you are using Django 1.9, you can use the newly introduced disabl

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread Vadim Serdiuk
Hello. The exception raises because 'boardgames_home' name is defined for group of patterns, and not one. So it was skiped and is undefined in runtime. Use 'name' parameter only for individual pattern, don't use it when include other patterns. Also don't use blank string in url pattern. Use '/

Help me! Error in Django. Migrate mysql, datetime and more.

2016-03-28 Thread Ricardo Felipe Ríos Higueras
Hi. I am learning Django, but, I have major problems because I don´t know much about python/Django. Here this problem: *problem one : the databases backend does not accept 0 as a ' valueError: The databases backend does not accept 0 as value for AutoField.* *problem two: TypeError: int() arg

django dynamically updating dashboard

2016-03-28 Thread Becka R.
Hi, I suspect this calls for celery, which I've never used. Can someone point me in a direction of docs or a tutorial? App examples would be amazing. Thank you. Becka -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from th

django dynamically updating dashboard

2016-03-28 Thread Daniel Roseman
You're going to need to give much more detail. What do you mean by a dashboard? What data do you want to update, and where is it coming from? What is dynamic about it? Why do you think you need Celery? -- DR. -- You received this message because you are subscribed to the Google Groups "Django

Re: Help me! Error in Django. Migrate mysql, datetime and more.

2016-03-28 Thread James Schneider
> > > *problem one : the databases backend does not accept 0 as a ' valueError: > The databases backend does not accept 0 as value for AutoField.* > *problem two: TypeError: int() argument must be a string or a number, not > 'datetime.datetime'* > > When or where do you get these errors? The models

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread James Schneider
On Mon, Mar 28, 2016 at 6:26 AM, Vadim Serdiuk wrote: > Hello. > The exception raises because 'boardgames_home' name is defined for group > of patterns, and not one. > So it was skiped and is undefined in runtime. > Use 'name' parameter only for individual pattern, don't use it when > include oth

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread James Schneider
On Mon, Mar 28, 2016 at 2:49 AM, Deepanshu Sagar wrote: > Hello, > > I am getting below error while clicking on logout button on webpage: > > > Hmm, you cut off the interesting stuff underneath this section. The traceback information below is usually super helpful. > boardgames/url.py contain

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread Prasanthi Paladugu
It's a namespace collision Kindly take a look over it "home" and boardgames_homes tearing a part. simply remove the namespace that is occurring at the include section. On Mon, Mar 28, 2016 at 11:46 PM, James Schneider wrote: > > > On Mon, Mar 28, 2016 at 2:49 AM, Deepanshu Sagar > wrote: > >>

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread knbk
On Monday, March 28, 2016 at 7:23:22 PM UTC+2, James Schneider wrote: > > That's not entirely accurate. It is perfectly valid to assign a name to an > included set of URL's. This creates a namespace for the URL's that are > being included. See here: > Actually, the name parameter is completely

Re: Getting NoReverseMatch at /logout/

2016-03-28 Thread James Schneider
> > > On Monday, March 28, 2016 at 7:23:22 PM UTC+2, James Schneider wrote: >> >> That's not entirely accurate. It is perfectly valid to assign a name to >> an included set of URL's. This creates a namespace for the URL's that are >> being included. See here: >> > > Actually, the name parameter is

EMAIL_BACKEND doesn't works with Amazon SES!?

2016-03-28 Thread Neto
I'm trying to send emails with Amazon SES, but when I use default EMAIL_BACKEND raise error: Config: EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' # this is default EMAIL_HOST = 'email-smtp...amazonaws.com' EMAIL_PORT = 465 EMAIL_HOST_USER = '...' EMAIL_HOST_PASSWORD = '...' EMA

Re: EMAIL_BACKEND doesn't works with Amazon SES!?

2016-03-28 Thread Raffaele Salmaso
On Tue, Mar 29, 2016 at 2:56 AM, Neto wrote: > > EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' # this is > default > EMAIL_HOST = 'email-smtp...amazonaws.com' > EMAIL_PORT = 465 > EMAIL_HOST_USER = '...' > EMAIL_HOST_PASSWORD = '...' > EMAIL_USE_TLS = True > My config EMAIL_BACKEN