Re: Why my column header of listview always uppercase?

2017-02-07 Thread 居飞
It works now, I changed the place and it is ok. Thanks a lot. 在 2017年2月7日星期二 UTC+8下午4:55:16,居飞写道: > > > > > > As show in the picture, in my django admin list view, al

Re: Why my column header of listview always uppercase?

2017-02-07 Thread 居飞
I add thead th { text-transform: capitalize; } just at the end of the base.css file, but it seems does not work. 在 2017年2月7日星期二 UTC+8下午4:55:16,居飞写道: > > > >

Re: Why my column header of listview always uppercase?

2017-02-07 Thread 居飞
hi: Thanks for your reply! Do you mean the default css provided by django is working so? I see some examples of django admin on internet, they works fine with capitalize. But I have not modified the default css file yet. 在 2017年2月7日星期二 UTC+8下午6:12:37,ludovic coues写道: > > The line 29

No installed app with label 'province'.

2017-02-07 Thread Gerald Brown
I have just started an app on Ubuntu 16.04 Server using Python 3.5 and Django 1.10.5. When I do "@admin.register(Province)" in my admin.py file I get the error that is the subject of this post. Of course there is NO app with label of 'province' as that is the label of a 'Model'. Why is Django

How to configure client side SSL trusted CA certificate ?

2017-02-07 Thread Gang Yang
Hi, I'm pretty new to Django and encountered some client side SSL issue. I'm trying to use django-cas-ng (CAS client) to do CAS authentication and the CAS server is using a self-signed server certificate. After obtaining the service ticket (ST), django-cas-ng tried to verify the ST by calling

How to configure CA certificates for client side in Django?

2017-02-07 Thread Gang Yang
Hi, I'm pretty new to Django and encountered an SSL (client side) issue. I'm trying to use django-cas-ng (CAS client) for CAS authentication and my CAS server uses a self-signed server certificate for dev env. After obtaining the service ticket (ST), django-cas-ng tried to verify the ST and fai

Ignore previous post!!!

2017-02-07 Thread Gerald Brown
You can ignore my previous post as I *think* I discovered my problem. I had 2 admin.py files and the second one was giving me the error... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Django documentation tutorial part 1

2017-02-07 Thread Gerald Brown
Have you tried using "127.0.0.1" instead of "localhost"? I had a similar problem when I used "localhost" On Tuesday, February 7, 2017 at 5:12:30 AM UTC+8, Philip wrote: > > Hello, > > I am working through the tutorial included with the django documentation, > and I am confused as to why my url

Re: New to the community

2017-02-07 Thread Fabrice NA
I am beginner too, I have found the tutorial on the Django wesite really useful. Also I really like this series of Videos from here https://www.youtube.com/user/CodingEntrepreneurs the only downside is that it goes and speak really fast. On Monday, 6 February 2017 21:12:09 UTC, Mavlonbek Murato

Re: file fields

2017-02-07 Thread ludovic coues
Can you post the full backtrace ? 2017-02-07 20:15 GMT+01:00 ايهاب توفيق : > > this the error that keep coming up TypeError: _getfullpathname: illegal type > for path parameter > بتاريخ الخميس، 26 يناير، 2017 1:04:28 ص UTC+2، كتب ايهاب توفيق: >> >> I am new in django and to know how to use multipl

Re: file fields

2017-02-07 Thread ايهاب توفيق
this the error that keep coming up TypeError: _getfullpathname: illegal type for path parameter بتاريخ الخميس، 26 يناير، 2017 1:04:28 ص UTC+2، كتب ايهاب توفيق: > > I am new in django and to know how to use multiple file field in the same > model can any one help me > -- You received this mess

Re: Web-based Voting System for our capstone project

2017-02-07 Thread Genaro Lubong
Thank you so much guys, it helped me a lot in making the step forward towards our project. On Feb 4, 2017 12:16 AM, "Melvyn Sopacua" wrote: > On Wednesday 01 February 2017 10:47:14 Avraham Serour wrote: > > > I recommend instead of tweaking the admin app to just making your own > > > dashboard t

Saving Data in Multiple Selected Checkbox for Voting System

2017-02-07 Thread Genaro Lubong
Hello, newbie here, I am currently making our capstone project as a requirement to our course subject, and it is a major subject, while I was in the part of retreiving the selected candidates, I was not about to iterate the vote for those selected on the upper part, just the last selected item/obje

Re: Django channels

2017-02-07 Thread Алексей Кузуб
It works! I configure all from scratch step by step and it works! But I didn't find the reason of my problem. Maybe it was IIS or some Windows app =) Thank you very much, Andrew! You really helped me. понедельник, 6 февраля 2017 г., 20:34:03 UTC+3 пользователь Andrew Godwin написал: > > The err

django-hotsauce 0.6.4 release

2017-02-07 Thread Etienne Robillard
Hi, I'm pleased to announce the release of django-hotsauce 0.6.4. Django-hotsauce 0.6.4 is a bugfix release. What's new: * Updated libschevo to 3.2.7 * Added basic support for ZODB databases * Fixed a bug in notmm.utils.urlmap * Updated test suite Download: http://www.isotopesoftware.ca/p

Re: Django allauth, manage redirect

2017-02-07 Thread Branko Zivanovic
Thanks for idea, I think this one with additional field might work! уторак, 07. фебруар 2017. 10.51.36 UTC+1, Michal Petrucha је написао/ла: > > On Tue, Feb 07, 2017 at 01:30:18AM -0800, Branko Zivanovic wrote: > > Thanks for the answer. > > This will redirect user after every single login, righ

Re: Tutorial part 4 help: the raidio buttons to make a choice on the polls question won't show.

2017-02-07 Thread ludovic coues
Have you added some choices to the "What's up?" question ? What you see is that question.choice_set.all is empty. The following snippet will give you some output: {% for choice in question.choice_set.all %} {{ choice.choice_text }} {% empty %} Sorry, no available choices. {% endfor %

Re: Why my column header of listview always uppercase?

2017-02-07 Thread ludovic coues
The line 296 of base.css is responsible for this behaviour. Adding a rule "thead th { text-transform: capitalize; }" at a later point should do what you want. To do that, I would add an app in INSTALLED_APPS before django.contrib.admin. In that app templates directory, I would add the following fil

Re: Django allauth, manage redirect

2017-02-07 Thread Michal Petrucha
On Tue, Feb 07, 2017 at 01:30:18AM -0800, Branko Zivanovic wrote: > Thanks for the answer. > This will redirect user after every single login, right? > I wan't it to be after firsty login only, so people can update their > profile. I want this to be done only once. Not exactly what you're asking

Re: Django allauth, manage redirect

2017-02-07 Thread Branko Zivanovic
Thanks for the answer. This will redirect user after every single login, right? I wan't it to be after firsty login only, so people can update their profile. I want this to be done only once. уторак, 07. фебруар 2017. 10.20.21 UTC+1, pradam.programming је написао/ла: > > Hi, > add this line in se

Re: Tutorial part 4 help: the raidio buttons to make a choice on the polls question won't show.

2017-02-07 Thread Brady Lee
Same issue here, no radio buttons show up. ubuntu 16.04.1 LTS python 3.5.2 django 1.10.5 I've tried {{ question|pprint }} and {{ question.choice_set.all|pprint }} for debugging, got: Now trying to figure out where the problem is. On Thursday, October 20, 2016 at 11:52:59 PM UTC+8, Othniel

Re: Django allauth, manage redirect

2017-02-07 Thread pradam programmer
Hi, add this line in settings.py: LOGIN_REDIRECT_URL = "/my-tasks/" On Tue, Feb 7, 2017 at 2:09 PM, Branko Zivanovic < international11...@gmail.com> wrote: > I'm using django-allauth for authentication. I've enabled Facebook and > Google for social logins. How do I make redirect after first login

Why my column header of listview always uppercase?

2017-02-07 Thread 居飞
As show in the picture, in my django admin list view, all column header are uppercase, How can I change it to capitalize? Thanks. -- You received this message be

Re: New to the community

2017-02-07 Thread pradam programmer
hi, you can try this video tutorials its easily understandable https://www.youtube.com/playlist?list=PLEsfXFp6DpzQFqfCur9CJ4QnKQTVXUsRy On Tue, Feb 7, 2017 at 12:31 PM, Antonis Christofides < anto...@djangodeployment.com> wrote: > Hello, > > except for Django's official tutorial, which is quite

Django allauth, manage redirect

2017-02-07 Thread Branko Zivanovic
I'm using django-allauth for authentication. I've enabled Facebook and Google for social logins. How do I make redirect after first login? I want to make people edit their profiles instantly after their first login. -- You received this message because you are subscribed to the Google Groups "