Re: /admin redirects me to 127.0.0.1:8000/admin on nginx+gunicorn production server

2014-05-08 Thread Francisco Roldan
Hi!, i have the same issue with nginx. When i try to access to /admin or another url without slash o when django redirects, nginx redirect to 127.0.0.1/admin. How you solved? Thanks, sorry my english El jueves, 25 de julio de 2013 06:43:51 UTC-3, Daniel Oźminkowski escribió: > > I thought that

Re: No distributions at all found for odfpy (from django-simple-import==1.9)

2014-05-08 Thread Alexis Gavidia
/usr/local/venv/bin/pip run on Thu May 8 23:20:37 2014 Downloading/unpacking odfpy Getting page https://pypi.python.org/simple/odfpy/ Could not fetch URL https://pypi.python.org/simple/odfpy/: 404 Client Error: Not Found Will skip URL https://pypi.python.org/simple/odfpy/ when looking for

django documentation tutorial 3 questions. home page missing.

2014-05-08 Thread cheesiong lim
hi all, i am learning django by using django 1.6 documents tutorial 1 - 6. this round is my 4th try and, previous 3 try was successful and i understand more on every try. i am in tutorial 3 now, to create views. according to the documents, after i created a view, i need to map it to a URL.

No distributions at all found for odfpy (from django-simple-import==1.9)

2014-05-08 Thread Alexis Gavidia
Hi I've tried to install django-simple-import ver 1.9 but, Could not find any downloads that satisfy the requirement odfpy Downloading/unpacking odfpy (from django-simple-import==1.9->-r requirements/requirements.txt (line 19)) Could not find any downloads that satisfy the requirement odfpy

Re: Gallery App process

2014-05-08 Thread Venkatraman S
On Thu, May 8, 2014 at 12:43 PM, bradford li wrote: > I want to know how to display images separated by albums onto a page in > Django. So far, I've learned how to do so with the line > > > > in my html file. > > What I want to do is have a few album thumbnails out and upon click, all > the imag

Re: active/alive Calendar app options for Django

2014-05-08 Thread Venkatraman S
On Fri, May 9, 2014 at 1:55 AM, Adam Teale wrote: > Hi guys, > > Quick question, anyone using or know of a calendar app that is currently > in active development that i could use in my django app? > > I've been trying to get django-swingtime and django_bootstrap_calendar but > i've got errors tha

Re: Gallery App in Django project

2014-05-08 Thread Venkatraman S
On Fri, May 9, 2014 at 4:22 AM, m1chael wrote: > photologue may work for you.. i use it, and have customized it very > extensively for my needs +1. Very easy to customize and play with. Does most of the functions needed of a photo-app. -- You received this message because you are subscribed

Re: About django round-up display function of time

2014-05-08 Thread hito koto
Thank you! 2014年5月7日水曜日 23時05分18秒 UTC+9 somecallitblues: > > I assume you're using datetime object in which case you have a look at > this SO answer > http://stackoverflow.com/questions/3463930/how-to-round-the-minute-of-a-datetime-object-python > > > On 7 May 2014 17:55, hito koto > wrote: > >>

Re: Gallery App in Django project

2014-05-08 Thread m1chael
photologue may work for you.. i use it, and have customized it very extensively for my needs On Thu, May 8, 2014 at 3:05 AM, bradford li wrote: > I'm pretty new to Django and I thought, what better way to learn than to > create your own website?! > > I posted a question on Stackoverflow. > > http

active/alive Calendar app options for Django

2014-05-08 Thread Adam Teale
Hi guys, Quick question, anyone using or know of a calendar app that is currently in active development that i could use in my django app? I've been trying to get django-swingtime and django_bootstrap_calendar but i've got errors that i can't seem to resolve and i think their dev on github mig

Re: Python Nested For Looping MultiTable Association Question

2014-05-08 Thread G Z
outside the if statement the data appears.. -- 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, sen

Re: Python Nested For Looping MultiTable Association Question

2014-05-08 Thread G Z
{% for e in customers %} {% for d in vms %} {% if e.id = d.CUSTOMERID %} {{ e.id }} - {{ e.NAME }} - {{ d.VMNAME }} {% endif %} {% endfor %} {% endfor %} why doesn't this work.? -- You rec

Re: [Tutor] PyCountry currency formatting woes

2014-05-08 Thread Sithembewena Lloyd Dube
Thank you all, babel works just fine. I also tried ccy, which isn't bad either - except that it returns non-unicode currency letters for countries in the Eurozone. On Mon, May 5, 2014 at 10:10 AM, Peter Otten <__pete...@web.de> wrote: > Sithembewena Lloyd Dube wrote: > > > Thanks, i was actually

Re: How would you do this cleanly in Django (remembering the states of check boxes in multiple pages)

2014-05-08 Thread François Schiettecatte
I would create a number of DIVs, put 100 production in each DIV and then show/hide the DIVs as needed using some javascript (like JQuery) François On May 8, 2014, at 9:18 AM, Chi-Cheong Weng wrote: > Hi guys, > > I have been using Django for a little more than a year now, but I still > canno

Django ChoiceField usage

2014-05-08 Thread sravani v
Hi, I am new to Django. I am trying to working out on the different fields in this. From that only I found there are model fields and form fields existed in it. Now I am working on radio buttons. For this what I have done is,created a model with field "title = models.CharField(max_length=3, ch

How would you do this cleanly in Django (remembering the states of check boxes in multiple pages)

2014-05-08 Thread Chi-Cheong Weng
Hi guys, I have been using Django for a little more than a year now, but I still cannot think of a clean way of achieving this: Let's say I have 1000 products in the db and I want to create a campaign to promote the products. I am displaying the products 100 items each time and each item has a

Re: Action without URL

2014-05-08 Thread Karino Kang
Thank you all, I will check documentation for using Django with AJAX. Regards, Karino KANG Le jeudi 8 mai 2014 14:08:30 UTC+2, Stodge a écrit : > > Yes it is possible - think of the actions that need to take place. > > * The user clicks the button in the browser. > * The browser sends an Ajax r

Re: Action without URL

2014-05-08 Thread Stodge
Yes it is possible - think of the actions that need to take place. * The user clicks the button in the browser. * The browser sends an Ajax request to Django * The Django view processes the Ajax request, updates the database and sends a response to the browser These are web fundamentals and I

Re: Action without URL

2014-05-08 Thread Daniel Roseman
On Thursday, 8 May 2014 12:35:22 UTC+1, Karino Kang wrote: > > Dear all, > > I'm a relatively new user of Django and I'm struggling to do something I'm > not sure is possible with Django. > > I wanted to develop a "like" app which act pretty much like the facebook > "like" except that you can dis

Action without URL

2014-05-08 Thread Karino Kang
Dear all, I'm a relatively new user of Django and I'm struggling to do something I'm not sure is possible with Django. I wanted to develop a "like" app which act pretty much like the facebook "like" except that you can dislike. My main problem is that I want to have a button or image for likin

Re: Django app called operator

2014-05-08 Thread Domagoj Kovač
Thanks Tom, i thought something like this has happened. -- 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 thi

Gallery App process

2014-05-08 Thread bradford li
I want to know how to display images separated by albums onto a page in Django. So far, I've learned how to do so with the line in my html file. What I want to do is have a few album thumbnails out and upon click, all the images from the album should be displayed. I believe I would do this

Gallery App in Django project

2014-05-08 Thread bradford li
I'm pretty new to Django and I thought, what better way to learn than to create your own website?! I posted a question on Stackoverflow. http://stackoverflow.com/questions/23534170/album-app-process-in-django I want to create a Gallery App that would display a list of albums. These albums woul

Re: Django app called operator

2014-05-08 Thread Tom Evans
On Thu, May 8, 2014 at 11:48 AM, Domagoj Kovač wrote: > Hi everybody, > > I have a problem. In my settings i have: > >> INSTALLED_APPS = ( >> 'django.contrib.auth', >> 'django.contrib.contenttypes', >> 'django.contrib.sessions', >> 'django.contrib.sites', >> 'django.contrib.mes

Django app called operator

2014-05-08 Thread Domagoj Kovač
Hi everybody, I have a problem. In my settings i have: INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.messages', > 'django.contrib.staticfiles', > # Uncomment the ne

Re: What is different of handling character code between pure Python and Django?

2014-05-08 Thread Tom Evans
On Thu, May 8, 2014 at 5:05 AM, Sugita Shinsuke wrote: > Hello Tom Evans > > >> plain single and double quotes - " and ', not “ and ‘. > My e-mail client is Gmail web client. > >>What version of Python? 2.x or 3.x? > Python version is 2.7.5 > And, Django version is 1.3.7 Django 1.3.7 is very old,

Splitting field in Django admin “Add” interface into its constituent fields

2014-05-08 Thread kmclifton
Hi, I already asked this on stackoverflow (http://stackoverflow.com/questions/23534608/splitting-field-in-django-admin-add-interface-into-its-constituent-fields). Thought I would ask here too. I am using Django 1.6. In the "Add" interface for one of my models, I have a field that is a fore