Re: FYI: Scheduled downtime on djangoproject.com Thursday night

2013-01-29 Thread kl4us
nice one, i'm new on django and i'm reading documentation all day Il giorno martedì 29 gennaio 2013 18:11:48 UTC+1, Jacob Kaplan-Moss ha scritto: > > Hey folks -- > > MediaTemple, our hosting provider for djangoproject.com, is going to > be taking our server offline Thursday night while they g

Question on django scrapy integration

2013-02-11 Thread kl4us
Hi all, i have a question on scrapy -> django integration. i have this models on django: from django.db import models from django.utils import timezone import datetime class Job(models.Model): title = models.CharField(max_length=100) description = models.TextField(max_length=500) url

Re: Question on django scrapy integration

2013-02-11 Thread kl4us
is possible to Poll.objects.get(pk=1) into scrapy? Il giorno lunedì 11 febbraio 2013 14:48:51 UTC+1, kl4us ha scritto: > > Hi all, > i have a question on scrapy -> django integration. > > i have this models on django: > > from django.db import models > from django.uti

Problem with django 1.5.1

2013-05-09 Thread kl4us
I have this code http://pastebin.com/xTJTmZws with django 1.4.3 on OSX works fine, on ubuntu with django 1.5.1 i have error "coercing to Unicode: need string or buffer, Post found" at line "{% url post slug=post.slug %}" of template post_list.html. Why and how can i adjust this? -- You receive

Re: Problem with django 1.5.1

2013-05-09 Thread kl4us
works, thanks a lot Il giorno giovedì 9 maggio 2013 16:37:11 UTC+2, ejb ha scritto: > > Hey kl4us, > > I think the problem is that you need to specify the URL name as a string, > like: {% url 'post' slug=post.slug %} > > https://docs.djangoproject.com/en/dev/topics

how to make project template?

2013-06-07 Thread kl4us
Anyone know how to push changes upstream back to the template after having started the project? i'm in this snenario: 1) I start a project from pinax: $ virtualenv mysite $ source mysite/bin/activate (mysite)$ pip install Django==1.4.5 (mysite)$ django-admin.py startproject --template=https://g

Re: how to make project template?

2013-06-10 Thread kl4us
any suggestion please? Il giorno venerdì 7 giugno 2013 19:13:50 UTC+2, kl4us ha scritto: > > Anyone know how to push changes upstream back to the template after > having started the project? i'm in this snenario: > > 1) I start a project from pinax: > > $ virtualenv my

Django and soaplib xmlns problem

2013-09-09 Thread kl4us
Hi all, I'm developing a soap service with django 1.5.2, python 2.7.3 and soaplib 0.8.1. For now a simple method works fine but ... how i can add *xmlns* to response? This is my view.py from sms.soaplib_handler import DjangoSoapApp, soapmethod, soap_typesfrom django.views.decorators.csrf impor