Re: Presentation ideas?

2014-01-16 Thread Keith Edmiston
John/Russ, Thanks a ton for these suggestions. Great thoughts! Keith On Thursday, January 16, 2014, Russell Keith-Magee wrote: > These are all good reasons, especially for the tutorial side of things. > > From the perspective of sprints: > > * You can discuss

Re: django websockets

2014-01-16 Thread carlos
Hi maybe this link help you https://www.djangopackages.com/grids/g/websockets/ Cheers On Thu, Jan 16, 2014 at 8:34 PM, Silviu Dicu wrote: > Hello, > > I'm looking to implement websockets with django. > Any hints will be appreciated. > > thanks! > > -silviu > > -- > You

Re: ImproperlyConfigured: Error loading psycopg2 module: No module named _psycopg

2014-01-16 Thread Начаров Михаил
Hi Timothy, Note that your mod_wsgi module compiled for using python2.7. So what you need now is install(compile) mod_wsgi for python3 instead of the same module compiled for python2.7. On Debian you can do it by this command: $ sudo apt-get install libapache2-mod-wsgi-py3 16.01.2014

django websockets

2014-01-16 Thread Silviu Dicu
Hello, I'm looking to implement websockets with django. Any hints will be appreciated. thanks! -silviu -- 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

Re: Presentation ideas?

2014-01-16 Thread Russell Keith-Magee
These are all good reasons, especially for the tutorial side of things. >From the perspective of sprints: * You can discuss architectural issues/challenges with members of the project core team * You can get engaged with the open source development process * You can get immediate answers (and

Modify FileField in Admin

2014-01-16 Thread Wnt2bsleepin
Hello, I am new to Django and have run into a small problem with my application's admin page. It displays the full url to the uploaded file, but when I click on it the link is warped. I have a method to retrieve the file as a download, and would like to put that there instead of the plain url.

Problems with Custom Tag Filter

2014-01-16 Thread Mark Phillips
I have a dictionary of dictionaries that I need to open up in a template. The dictionary: 'values': {(1L, 2L): {'selling_costs__sum': None, 'sale_price__sum': None, 'debt__sum': None, 'estimate__quote__sum': None}, (3L, 2L): {'selling_costs__sum': Decimal('10.45'), 'sale_price__sum':

Re: Presentation ideas?

2014-01-16 Thread John DeRosa
You can survey technologies you don’t use in your daily work. You can explore alternative technologies for your current job. You can learn new details about technologies you know, in intermediate or advanced tutorials. You can learn in-depth, because you’re in a session for 3 hours, vs. 45

Presentation ideas?

2014-01-16 Thread Keith Edmiston
I'm scheduled to give a talk/presentation to my colleagues on why attending tutorials and sprints at a conference is a great idea (I attended DjangoConUS2013). Any ideas/thoughts much appreciated. --- Conference Tutorials and Sprints…what are they all about? "Often we attend technical

Unofficial Kindle builds of the Django documentation

2014-01-16 Thread Markus Amalthea Magnuson
Hey all, I've done .mobi builds of the Django documentation so you can read it on a Kindle: http://alimony.github.io/django-docs-kindle/ Just thought people here might be interested :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Conditionally display fields in admin

2014-01-16 Thread Larry Martell
I have an admin form for a model and based on the value of one column (either as it is in the database or as it's entered or changed by the user), I want to conditionally display or not display other fields. Is there a way to do this natively in the admin or do I have to write some javascript

Re: open data protocol and django

2014-01-16 Thread Adolphe Cher-Aime
Have you tested tastypie? http://tastypieapi.org/ Regards, On Thu, Jan 16, 2014 at 3:04 PM, Sven Aßmann wrote: > Hi Folks, > > again i wanna ask you if someone of you already had the chance to play > around > with the open data protocol and a django integration? > >

save returns the id and pk none

2014-01-16 Thread fabricio
my model class Caixafaccao(models.Model): empresa = models.ForeignKey(Empresa, null=True, blank=True) cliente = models.ForeignKey(Cliente, verbose_name=u'Cliente') conta = models.ForeignKey(Conta, verbose_name=u'Conta' ) subconta = models.ForeignKey(SubConta,

Re: How to re-sync with Heroku?

2014-01-16 Thread Sven Aßmann
Hi Scott, it looks more like a cygwin - heroku issue. If you search for the heroku command, where do you find it, if even? Try to extend your PATH variable to the path whereever the tool belt was installed and try it again. Cheers, Sven On Thursday 09 January 2014 22:39:59 Scott Meyers wrote:

open data protocol and django

2014-01-16 Thread Sven Aßmann
Hi Folks, again i wanna ask you if someone of you already had the chance to play around with the open data protocol and a django integration? Currently it looks like that there is no real stable client implementation for python. Only found that https://code.google.com/p/odata-py/ and it is

Re: mass email app for django

2014-01-16 Thread Sven Aßmann
Hi Dedrerik, maybe your are right and just using a service like Mailchimp (which seems to be pretty userfriendly) would be the best way to go. I will defenetly have a look on it and try to find out if the users needs can be satisfied by that. Thanks a lot. Cheers, Sven On Thursday 16 January

Re: mass email app for django

2014-01-16 Thread Sven Aßmann
Hi Serge, unfortunately the smtp server is a managed server therefore no configuration to use a db as virtual mail backend can be performed. But thanks for your notes, especially i wasn't aware that djnago can use the postmark / rest api for mails out of the box. I need to investigate on that

Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Johannes Schneider
No, just if you use auto generated PKs. Exactly this is the point. We use manually generated PKs, so can not use this check. On 16.01.2014 18:03, Javier Guerra Giraldez wrote: On Thu, Jan 16, 2014 at 11:50 AM, Johannes Schneider wrote: The point is, I

Re: trying to introduce django custom templatetags - some jinja also involve

2014-01-16 Thread carlos
Hi maybe help you this link http://askbot.org/en/questions/ ask your question theres! Cheers On Thu, Jan 16, 2014 at 9:44 AM, django-newb wrote: > I am working on a project where I used a open source framework. Here is > the link for the opensource framework: >

Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Johannes Schneider
This could be a way to it, but we need this information while handling the Pre_save singal. So this does not work too. On 16.01.2014 17:53, Martin Marrese wrote: On Thu, Jan 16, 2014 at 1:50 PM, Johannes Schneider

Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Javier Guerra Giraldez
On Thu, Jan 16, 2014 at 11:50 AM, Johannes Schneider wrote: > The point is, I have to distinguish between an instance which is created, > but its save method is not yet called. And an instance coming from the > database via a manager. AFAIK, if it has a 'pk'

Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Martin Marrese
On Thu, Jan 16, 2014 at 1:50 PM, Johannes Schneider < johannes.schnei...@galileo-press.de> wrote: > The point is, I have to distinguish between an instance which is created, > but its save method is not yet called. And an instance coming from the > database via a manager. > > bg, > Johannes >

Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Johannes Schneider
The point is, I have to distinguish between an instance which is created, but its save method is not yet called. And an instance coming from the database via a manager. bg, Johannes On 16.01.2014 16:04, Erik Cederstrand wrote: Den 16/01/2014 kl. 14.27 skrev Johannes Schneider

trying to introduce django custom templatetags - some jinja also involve

2014-01-16 Thread django-newb
I am working on a project where I used a open source framework. Here is the link for the opensource framework: https://github.com/ASKBOT/askbot-devel. I wanted to add a/b testing to it and after doing some research I found out django-lean . I

Re: Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Erik Cederstrand
Den 16/01/2014 kl. 14.27 skrev Johannes Schneider : > Hi List, > I need to check, if a given instance of a Model already exists in the > Database. I cannot check 'instance.pk is None', because there are manually > given PKs (no discussion about this plz). >

Re: Can we upgraded from django 1.1.1 to 1.6.1??

2014-01-16 Thread carlos
I thing YES, but you first need sure complete understand django 1.6.1 and replace pieces of code when get error in you application. other thing is you need read all releases notes all version of django: 1.2 1.3 1.4 1.5 1.6 and you discover what is new, what is deprecated and what is removed! in

Fast and Easy way to check if an instance of an Model exists in the Database

2014-01-16 Thread Johannes Schneider
Hi List, I need to check, if a given instance of a Model already exists in the Database. I cannot check 'instance.pk is None', because there are manually given PKs (no discussion about this plz). Up to now I check if 'instance._state.adding' is true. But I don't like this solution. Checking

Can we upgraded from django 1.1.1 to 1.6.1??

2014-01-16 Thread subashg
Can we?? If yes, what are the definite obstacles that we will face while getting it done for MENTORING APPLICATION. Thanks & Regards Raj -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Reverse Lookup Failure on password change/reset views

2014-01-16 Thread William Opondo
Hi all, I'm new to django and I am using django 1.6 on my local machine yet the version of django on the company server is 1.5.4 thus I get the following error: Reverse for 'django.contrib.auth.views.password_reset_confirm' with arguments '()' and keyword arguments '{u'uidb64': u'4', u'token':

error after form validation

2014-01-16 Thread fabricio
I got the following error My model http://pastebin.com/2BuE0N0d my view http://pastebin.com/48xEPvQz when it reaches this part of the code gr_caixafaccao = form_caixafaccao.save (commit = False) gr_caixafaccao the object returns me Unable to get repr is hence not caught

Re: Adding an API to an existing Django app

2014-01-16 Thread Dennis Plöger
Hi! It's me again. I think, I got the whole thing wrong. Instead of plunging an API to an existing WebApp, it would be best to base the WebApp onto the API in the first place. I saw, that you can actually do that using the common Rest frameworks available, so I'm digging my way through that

Re: mass email app for django

2014-01-16 Thread Diederik van der Boor
Hi Sven, What you describe sounds like a Mailinglist.. Wouldn't it be possible to use Mailchimp or Aweber for this kind of service? >From Django you can use their API's. Mass-mailing has a risk of being blacklisted as server, at least make sure you send email via a whitelisted SMPT server (and

ImproperlyConfigured: Error loading psycopg2 module: No module named _psycopg

2014-01-16 Thread Timothy W. Cook
This question is also on Stackoverflow http://goo.gl/LinMue but I thought somene here may have an idea. I have a Django 1.5, Python 2.7 site running under Apache with mod_wsgi on a CentOS 6.4 server. I have rebuilt this site using Django 1.6 and Python 3.3. Deploying it to the same server and

Re: Problem with Form with ForeignKey field

2014-01-16 Thread Tom Evans
On Wed, Jan 15, 2014 at 8:44 PM, Jonathan Pentecost wrote: > Does it have anything to do with the related name of animal being `+`? I > can't test this out just yet, but I don't THINK you can have a related_name > as just `+`, I believe it needs to be a valid

Server return error 304

2014-01-16 Thread Igor Korot
Hi, ALL, I'm getting an error 304 trying to locate the JavaScript files on my dev machine. Here's what I did. I created a project and then created an application according to the tutorial. Looking at https://docs.djangoproject.com/en/1.5/howto/static-files/ I made sure that "STATIC" environment

Sqlalchemy in Django with User Authentication Problem

2014-01-16 Thread Chen Xu
Hi Everyone, I am using sqlalchemy instead of Django's ORM for my new website, and I am running into the incompatible user authentication issue, I am wondering if there are any good python authentication library that allows both facebook, google, twitter,etc login and its own email registration?