Search Refiner - Skype and help me?

2016-01-25 Thread eZ_Harry
Hello, I have stuck making a search refiner for my website and have been stuck for so long now, I am really just in need of some direction and to get someone to tell me roughly how I should be going about it. If anyone could help me that would be greatly appreciated. Just message me and ill sen

Re: count

2016-01-25 Thread sum abiut
Thanks James, here is my view.py def foreginexchange_view(request): test=ball.objects.filter(request="checked").count() return render(request,'template.html',locals()) Cheers On Tue, Jan 26, 2016 at 1:30 PM, James Schneider wrote: > > On Jan 25, 2016 6:07 PM, "sum abiut" wrote: >

I want to copy the inline object included in the admin when I copy the admin object

2016-01-25 Thread 张超
*I want to copy the inline object included in the admin when I copy the admin object* -- 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...@g

Re: Does anyone have good results connecting Django to Mysql on localhost and windows 7?, me not.

2016-01-25 Thread Carlos Andre
install setuptools. install pymysql and the your python version! 2016-01-25 14:17 GMT-02:00 Gonzalo V : > Wich module did you use? > please help > thanks!! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group

Re: count

2016-01-25 Thread James Schneider
On Jan 25, 2016 6:07 PM, "sum abiut" wrote: > > Hi, > i am trying to count the number of fields that has request field begin checked and then display the value of count in a template.html but i am not sure how to go about doing that. > > For example i want to do something like > > test=ball.object

count

2016-01-25 Thread sum abiut
Hi, i am trying to count the number of fields that has request field begin checked and then display the value of count in a template.html but i am not sure how to go about doing that. For example i want to do something like test=ball.object.filter(request="checked").count() then on a template.ht

Re: ImportError: no module named polls

2016-01-25 Thread James Schneider
On Jan 25, 2016 1:05 PM, "moon jo" wrote: > > Using django 1.6.10 > I finished the polls tutorial and tried to create my own project. > I tried to runserver and it gives me the import error. But it's a blank project, haven't added anything in the settings. > When I do import settings form django.c

Re: ImportError: no module named polls

2016-01-25 Thread Rafael E. Ferrero
if its a blank project you don't have a polls app yet,so... why you put your polls app there? Rafael E. Ferrero 2016-01-25 16:14 GMT-03:00 moon jo : > Using django 1.6.10 > I finished the polls tutorial and tried to create my own project. > I tried to runserver and it gives me the import error.

help me on django classifieds website

2016-01-25 Thread navdeepsaroya5
i want to know the database structure for classified website. please help -- 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.c

ImportError: no module named polls

2016-01-25 Thread moon jo
Using django 1.6.10 I finished the polls tutorial and tried to create my own project. I tried to runserver and it gives me the import error. But it's a blank project, haven't added anything in the settings. When I do import settings form django.conf and print settings.INSTALLED_APPS, it prints th

Re: Access denied for MySQL user in Django

2016-01-25 Thread James Schneider
> > >> And I get the usual error message: >> >> (1045, u"Access denied for user 'cdraccess'@'77.95.177.35' (using password: >> NO)") >> >> >> I have print statements and everything looks correct. It is printed as it >> is in the settings.py file. >> >> One thing I noticed is that the IP 77.95.177.

Re: Access denied for MySQL user in Django

2016-01-25 Thread James Schneider
On Mon, Jan 25, 2016 at 8:19 AM, Galil wrote: > I changed my settings.py file like this: > > 'cdraccess': { > 'ENGINE': 'django.db.backends.mysql', > 'NAME': 'portal2', > 'USER': 'cdraccess', > 'HOST': '127.0.0.1', > 'CONN_MAX_AGE': 0, > 'PASSWO

Re: Access denied for MySQL user in Django

2016-01-25 Thread Galil
I changed my settings.py file like this: 'cdraccess': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'portal2', 'USER': 'cdraccess', 'HOST': '127.0.0.1', 'CONN_MAX_AGE': 0, 'PASSWORD': 'mydbpass', }, And the error message I get is: (1045,

Does anyone have good results connecting Django to Mysql on localhost and windows 7?, me not.

2016-01-25 Thread Gonzalo V
Wich module did you use? please help thanks!! -- 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, s

django pagination

2016-01-25 Thread Xristos Xristoou
i want to using Paginator in my main page for my post list. i see docs and examples for that but i thing my problem is a specific, because on my view i have two Querys not one. def index(request): return render_to_response("blog/posts_list.html", { 'categories': Category.objects.all

Re: Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2016-01-25 Thread amarshall
Been a while.I forgot if I solved it using that. However I did create different environments using env wrapper and do an uninstall of old django and complete install to the newest version. Fixing small errors as they arise. On Saturday, May 30, 2015 at 10:21:45 AM UTC-4, dc wrote: > > Were you

Re: Why django project name must be start with letter or underline? Why not number?

2016-01-25 Thread Ezequiel Bertti
This is a python rule. It works like a lot of languages. Django project will be a package after start, so, like any variable of python, a package cannot start as a number. On Mon, Jan 25, 2016 at 1:31 AM, bjxyys XIN wrote: > hi, > > Why django project name must be start with letter or underline

Why django project name must be start with letter or underline? Why not number?

2016-01-25 Thread bjxyys XIN
hi, Why django project name must be start with letter or underline? Why not number? I found flask project name can begin with a number. thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

views and urls

2016-01-25 Thread Xristos Xristoou
hello, i have three pages(views,urls,templates) one with artist list with all posts one with artist details from the main list. first and second pages work fine,but i have problem on the third page i want from the artists details to go the third page and i take more details for the director whe