Re: unable to connect freenode

2012-07-02 Thread kenneth gonsalves
On Mon, 2012-07-02 at 22:51 -0700, Smaran Harihar wrote: > Thanks for the reply. How can i register? /msg nickserv help register -- regards Kenneth Gonsalves -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: unable to connect freenode

2012-07-02 Thread Smaran Harihar
Hi Kenneth, Thanks for the reply. How can i register? On Jul 2, 2012 10:46 PM, "kenneth gonsalves" wrote: > On Mon, 2012-07-02 at 10:32 -0700, Smaran Harihar wrote: > > And so I tried clicking on the link where it said #django on > > irc.freenode.net and then I get a

Re: unable to connect freenode

2012-07-02 Thread kenneth gonsalves
On Mon, 2012-07-02 at 10:32 -0700, Smaran Harihar wrote: > And so I tried clicking on the link where it said #django on > irc.freenode.net and then I get a popup of application launching which > will > connect to the freenode.net for #django channel and I ok it, but then > nothing happens. you

Using django-ratings; need help

2012-07-02 Thread DF
I've been trying for two weeks to implement the highly regarded django-ratings with zero success. I've followed all directions, which are not that detailed, and cannot figure out how to actually present a means for a user to submit a rating with the template. There are no directions on how to

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Just in case anyone missed the URL, you can book your slot here: http://www.doodle.com/8ptehyqr6uezhtsy Voting open until 14th July. Cal On Mon, Jul 2, 2012 at 9:59 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Curious, I'll have to test the quality,

Re: Same virtual-env for all django projects

2012-07-02 Thread Smaran Harihar
Thanks Musicman On Mon, Jul 2, 2012 at 4:17 PM, Lachlan Musicman wrote: > On Tue, Jul 3, 2012 at 10:52 AM, Smaran Harihar > wrote: > > Hi Djangoers, > > > > I am using virtual-env for my django project and I wanted to know that > is it > > ok to use

Re: Same virtual-env for all django projects

2012-07-02 Thread Lachlan Musicman
On Tue, Jul 3, 2012 at 10:52 AM, Smaran Harihar wrote: > Hi Djangoers, > > I am using virtual-env for my django project and I wanted to know that is it > ok to use the same virtual-env for all the django projects on my system? > > or do I need to create a virtual-env for

Same virtual-env for all django projects

2012-07-02 Thread Smaran Harihar
Hi Djangoers, I am using virtual-env for my django project and I wanted to know that is it ok to use the same virtual-env for all the django projects on my system? or do I need to create a virtual-env for every other django project? So what I am doing is that I have the virtual-env dir in my

Re: Unable to obtain c.poll

2012-07-02 Thread Smaran Harihar
Also when we are taking, c = p.choice_set.filter(choice_text__startswith='Just hacking')>>> c.delete() Are we deleting the object or just that filter queryset choice? On Mon, Jul 2, 2012 at 1:02 PM, Daniel Roseman wrote: > On Monday, 2 July 2012 20:47:40 UTC+1, Sam007

Re: Unable to obtain c.poll

2012-07-02 Thread Smaran Harihar
Thanks DR. Now I understand the difference between filter and get. On Mon, Jul 2, 2012 at 1:02 PM, Daniel Roseman wrote: > On Monday, 2 July 2012 20:47:40 UTC+1, Sam007 wrote: >> >> Hi Djangoers, >> >> I am almost completing my first tutorial but got stuck at the last

Re: How can Selenium see a record that I can't find from a debugger?

2012-07-02 Thread Rohan
Hi Bryan, I believe the problem is that selenium and the django testing framework are looking up different databases. To run selenium, you would be starting the actual server One solution is to use 'manage.py testserver ' for running the selenium tests. This will ensure that the data is

Re: Unable to obtain c.poll

2012-07-02 Thread Daniel Roseman
On Monday, 2 July 2012 20:47:40 UTC+1, Sam007 wrote: > > Hi Djangoers, > > I am almost completing my first tutorial but got stuck at the last point. > So I am assigning Choice object to 'c', > > c = p.choice_set.filter(choice_text__startswith='Just') > > And I am getting this output when I check

Re: admin panel adding left-right panel

2012-07-02 Thread ledzgio
Ok I managed to get filter_vertical working, thanks. Now how can I populate the filter_vertical panel in admin with the data in the table? A piece of my model is: class Position(models.Model): POSITIONS = (('GK', 'Goalkeeper'), ('DFC', 'Defender Central'), ('SW', 'Sweeper'),

Re: admin panel adding left-right panel

2012-07-02 Thread ledzgio
Ok I managed to get filter_vertical working, thanks. Now how can I populate the filter_vertical panel in admin with the data in the table? A piece of my model is: class Position(models.Model): POSITIONS = (('GK', 'Goalkeeper'), ('DFC', 'Defender Central'), ('SW', 'Sweeper'),

Re: Foreign Key needs quotes?

2012-07-02 Thread Smaran Harihar
ok thanks Tom On Mon, Jul 2, 2012 at 12:06 PM, Thomas Lockhart wrote: > ... > > So I wanted to know, which is the right way to go or it does not matter? >> > I prefer without quotes for most cases. But for cases when a model is not > yet defined (for example, you want

Re: Foreign Key needs quotes?

2012-07-02 Thread Thomas Lockhart
... So I wanted to know, which is the right way to go or it does not matter? I prefer without quotes for most cases. But for cases when a model is not yet defined (for example, you want to define a foreign key to a model which comes later in the source file) then you need to use the quotes to

Foreign Key needs quotes?

2012-07-02 Thread Smaran Harihar
Hi Djangoers, I am following the tutorial and found something I am not sure if is right or wrong? So here is my question, In the tutorial 01 where we need to create two models in models.py, we are providing the ForeignKey

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread Daniel Roseman
On Monday, 2 July 2012 18:38:12 UTC+1, rick wrote: > > h i will try my best.actually i have already read that > documentation but when i went to make application,then i got problem in > using filter functions..and this kind of functions are not mentioned in the > documentation.thats

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread Thomas Lockhart
On 7/2/12 10:38 AM, manish girdhar wrote: h i will try my best.actually i have already read that documentation but when i went to make application,then i got problem in using filter functions..and this kind of functions are not mentioned in the documentation.thats why i was facing

Re: admin panel adding left-right panel

2012-07-02 Thread ledzgio
Thanks very much for your response, really appreciated. But I am a noob and I don't know how to do this :) Could you please provide a simple example? and more, how can I populate this field in admin with the table data? thanks again Il giorno lunedì 2 luglio 2012 17:28:48 UTC+2, Sunny Nanda

Re: Fw: PLEASE HELP

2012-07-02 Thread Larry Martell
On Mon, Jul 2, 2012 at 11:45 AM, Cal Leeming [Simplicity Media Ltd] wrote: > Emily, > > Please refrain from sending chain/spam emails to the list, this isn't > acceptable. > > Also - on a site note, you really shouldn't be giving out your entire > mailbox by

Re: Fw: PLEASE HELP

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Emily, Please refrain from sending chain/spam emails to the list, this isn't acceptable. Also - on a site note, you really shouldn't be giving out your entire mailbox by cc'ing everyone, this isn't very good practice at all. Cal -- You received this message because you are subscribed to the

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread manish girdhar
h i will try my best.actually i have already read that documentation but when i went to make application,then i got problem in using filter functions..and this kind of functions are not mentioned in the documentation.thats why i was facing problem.anyhow i will again read

unable to connect freenode

2012-07-02 Thread Smaran Harihar
Hi guys, I was going through the first step of the tutorial where I found this, Where to get help: If you're having trouble going through this tutorial, please post a message to django-users or drop by #django on irc.freenode.net to chat with other Django users who might be able to help. And so

Re: Difficulties deploying Satchmo store

2012-07-02 Thread ionic drive
Dear Jonathan, I answer on Django as there is nothing Satchmo specific in your message. This link should help you on start up: http://lmgtfy.com/?q=mod_wsgi +django A developer with your skills really should know to ask straight forward questions and to use search engines. Please Jonathan, your

Re: jquery, json and forms

2012-07-02 Thread Psamathos
It sounds like you want to initialize your form in the view. You can also do this by passing an initial keyword argument to the form constructor: exampleform = ExampleForm(initial={"examplefield": request.user.first_name}) This would set the examplefield of ExampleForm to the requesting

Re: jquery, json and forms

2012-07-02 Thread Jon Black
One approach is to pass json/html data in the response after saving and use jQuery to update the page. On 07/02/2012 05:12 PM, David wrote: > Hello > > I have a form that saves, and displays errors correctly when using > javascript and without. > > However, when my form saves I need to refresh

Re: admin panel adding left-right panel

2012-07-02 Thread Sunny Nanda
You can specify a 'filter-horizontal' tuple in the admin model declaration: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.filter_horizontal -Sandeep On Monday, July 2, 2012 6:56:07 PM UTC+5:30, ledzgio wrote: > > In default admin panel, under group

Re: How can Selenium see a record that I can't find from a debugger?

2012-07-02 Thread Bryan
I'm still stuck regarding how to delete a user from the database directly. On Tuesday, June 26, 2012 9:59:09 AM UTC-4, Bryan wrote: > > I am creating Selenium tests for my App. > I can create a new user, but I can't seem to figure out how to have it > deleted from the database. > > After the

migration via south for inheritance change -> please help

2012-07-02 Thread mcJack
Hi all, I've got a problem migrating some changes in the model, so I tried to solve it with south. The situation: I implemented two classes, which share some functionality. Now that I improved a little with python, django and co. I wanted to use inheritance for that issue. The model looks like

jquery, json and forms

2012-07-02 Thread David
Hello I have a form that saves, and displays errors correctly when using javascript and without. However, when my form saves I need to refresh the form with the new form data. How can I pass the form object through json back to my template please? Thank you for any help. -- You received

Re: UserProfile.user" must be a "User" instance. django-registration

2012-07-02 Thread megaBos
it seems fine, don't know why it shouldn't work, a different approach would be to overide the models save method and add the user there. On Monday, July 2, 2012 4:17:03 PM UTC+3, Nikhil Verma wrote: > > HI All > > I am applying an django-registration in my app. So i create a UserProfile >

Re: help - a bit urgent please(import data to a csv file)

2012-07-02 Thread sp20
Hi Kenneth, Thanks for that link.. I have worked it out Cheers sp20 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

admin panel adding left-right panel

2012-07-02 Thread ledzgio
In default admin panel, under group permissions, I saw a double panels where I can add an element from the left list panel to the right one instead of selecting multiple elements by holding CTRL. I would like to have this panel implementation in my admin with my models, how can I do that?

Re: Difficulties deploying Satchmo store

2012-07-02 Thread Stuart Laughlin
You say "difficulties" and "fails" but you don't say what that means. Do you have a stack trace or an error message? I'm not much of an Apache user, but if I'm not mistaken the consensus there is that mod_wsgi is the best way to go. Therefore I would focus on that rather than mod_fcgi. I'm

Difficulties deploying Satchmo store

2012-07-02 Thread Jonathan Hayward
I am trying to deploy a "Hello, world!" Satchmo store and have had difficulties under Apache with mod_wsgi, Gunicorn (fails immediately on attempted start), and mod_fcgi (I can start the daemon on 127.0.0.1 port 1234, but my attempt to get live web interaction didn't pan out. Part of my

Re: help - a bit urgent please(import data to a csv file)

2012-07-02 Thread kenneth gonsalves
On Sun, 2012-07-01 at 22:43 -0700, sp20 wrote: > My senior IT programmer has developed Django frameworks to monitor > project > information locally, but unfortunately he left the company. I quickly > need > to add an export option to those pages such that they can export all > the > data from

help - a bit urgent please(import data to a csv file)

2012-07-02 Thread sp20
Dear Django experts, I am pretty much a new bee to Django, at the moment I need to export all the data to a csv file. My senior IT programmer has developed Django frameworks to monitor project information locally, but unfortunately he left the company. I quickly need to add an export option to

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread Timothy Makobu
Once you're over the learning curve, you wont believe how easy Django makes web development. These devs thought, and keep thinking of everything. Just hang in there. On Mon, Jul 2, 2012 at 10:58 AM, manish girdhar wrote: > okay friend.thanks alot. > > > On Mon,

Re: Newbie form question

2012-07-02 Thread Daniel Roseman
On Sunday, 1 July 2012 23:25:32 UTC+1, Russ Abbott wrote: > > As a Django newbie I apologize if this is a trivial question. > > I'd like to use a form field as an element in a generated page but not as > part of a form. In particular, I'm generating a table, some of whose > elements are text

Re: Newbie form question

2012-07-02 Thread Andrea Mucci
hi the approach is correct, i think the problem is with the Field name have you used choices = ... ? if yes cloud you change the name of this field? cheers, 2012/7/2 Russ Abbott > As a Django newbie I apologize if this is a trivial question. > > I'd like to use a

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Curious, I'll have to test the quality, but we might potentially use hangouts for the backup stream instead - it'd certainly be a lot easier if the quality was good! Cheers Cal On Mon, Jul 2, 2012 at 5:35 AM, Alec Taylor wrote: > Sounds good, but have you considered

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Cal Leeming [Simplicity Media Ltd]
Oops, sorry forgot to mention that it's in UTC :) On Mon, Jul 2, 2012 at 7:41 AM, Derek wrote: > Cal > > Can you please confirm which timezone these times are for (I assume UTC, > but was not sure...) > > Thanks > Derek > > > On Sunday, 1 July 2012 17:09:05 UTC+2, Cal

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread manish girdhar
okay friend.thanks alot. On Mon, Jul 2, 2012 at 11:58 AM, Timothy Makobu wrote: > First read *ALL* of this http://docs.python.org/tutorial/ if > you haven't already, then redo this tutorial > https://docs.djangoproject.com/en/1.4/intro/tutorial01/ as many

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Raphael
Hello Derek, they (doodle) do not mention which time scheme they use. But I guess its UTC. In the upper right corner of the doodle poll your location gets targeted via Geo IP - you can change this preselection manually. -- Raphael http://develissimo.com > On Sun, 2012-07-01 at

Re: Handling millions of rows + large bulk processing (now 700+ mil rows)

2012-07-02 Thread Derek
Cal Can you please confirm which timezone these times are for (I assume UTC, but was not sure...) Thanks Derek On Sunday, 1 July 2012 17:09:05 UTC+2, Cal Leeming [Simplicity Media Ltd] wrote: > > Wow - glad to see there's people interested in this! > > Here is the schedule, could everyone

Tor exit nodes by Geolocation

2012-07-02 Thread Timothy Makobu
Hi guys, Here's a little Django GMaps mashup I made that tries to show the geographical location of tor exit nodes http://timslab.net/tornodes/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: am new bird to django,need some suggestion...please please do reply friend..

2012-07-02 Thread Timothy Makobu
First read *ALL* of this http://docs.python.org/tutorial/ if you haven't already, then redo this tutorial https://docs.djangoproject.com/en/1.4/intro/tutorial01/ as many times as you need to to understand everything in it. On Mon, Jul 2, 2012 at 8:15 AM, manish girdhar

geocoding - getting latlng from JavaScript, send to server, store into MongoDB

2012-07-02 Thread Markus Gattol
Hi folks, I am using https://github.com/hmarr/mongoengine and Django 1.4 for my current project. MongoDB allows for easy geo queries e.g. you have one latlng and want all other points in your database within a certain radius... all that's fine and working already. Now I want to use Google