Re: Is GeoDjango Too Much For This?

2012-02-23 Thread kenneth gonsalves
On Thu, 2012-02-23 at 17:13 -0800, DF wrote: > I've been reading a bit about GeoDjango and it sounds intriguing. A > colleague, though, suggested everything that can be done using > GeoDjango is equally efficient utilizing the Google Maps API with > JavaScript or JQuery to obtain the proper

Re: Django Comments-Redirecting

2012-02-23 Thread Babatunde Akinyanmi
:) Keep going maiyte but don't burnt out. On Fri, Feb 24, 2012 at 4:24 AM, coded kid wrote: > Thanks man! I've changed it to {{request.path}}. > > Not thinking bout anything. Just might be tired then! > > On Feb 23, 4:30 pm, Babatunde Akinyanmi

Re: Django Comments-Redirecting

2012-02-23 Thread coded kid
Thanks man! I've changed it to {{request.path}}. Not thinking bout anything. Just might be tired then! On Feb 23, 4:30 pm, Babatunde Akinyanmi wrote: > dude, > change {% url > %}" /> to > your own custom view like the view you used to load the page where you > are

Site Urls and site_media random config change

2012-02-23 Thread Eli_West
Static media under the development server worked without a problem for me for a few months, and still does but calling: {{ modelxx.objectyy.url }} to get a file url seemed to add full path out of nowhere instead of relative path. Now /site_media/{{ modelxx.objectyy.url }} gives double prefix

Is GeoDjango Too Much For This?

2012-02-23 Thread DF
I'm currently building my first Django-based app, which is proceeding fairly well, thus far. One of the goals is to allow users to post information (text, pics, video) and for the app to be able to automatically detect the location where they posted this information. That data would then ideally

Re: Django and social network

2012-02-23 Thread Alec Taylor
Virtualenv is recommended but not required. You can just install everything to PATH On Fri, Feb 24, 2012 at 2:29 AM, Lewis Satini wrote: > The only problem with pinax that I dont like is to setup the virtual > environment that make me so headache > > The site that

Dynamic mixin pattern, what do you think?

2012-02-23 Thread Marc Aymerich
Hi, I'm developing a web hosting control panel and I've decided to split it into several reusable applications: (a) One subset of this reusable applications are those which implement the typical services of an ISP, such as: dns, web, mailing lists, databases, vps, and so on... (b) Then there are

Re: viewing generated SQL without running the query

2012-02-23 Thread larry.mart...@gmail.com
On Feb 21, 7:32 pm, diafygi wrote: > There's a previous thread about this[1], but it was closed back in > 2006 without resolution. So I'd like to check back in and see if there > is a way to get a complete query string without executing the query. > > At first, I thought I

Re: social networks

2012-02-23 Thread yati sagade
Hi dummyman, Everyone starts out as a beginner :) As Martey pointed out, pyfacebook is dated now(Thanks Martey!) - You can go through the docs on the links posted by him. If you have a problem, try searching on StackOverflow; they have a team of FB developers monitoring

Re: Login failing

2012-02-23 Thread Aryeh Leib Taurog
Also worthy of note: I've seen this happen also with SESSION_SAVE_EVERY_REQUEST = True On Feb 22, 11:34 pm, "Aryeh Leib Taurog" wrote: > I'm seeing a very strange intermittent problem with logging in.  The login > appears to be successful, because the response to the login

Re: social networks

2012-02-23 Thread dummyman dummyman
Hi , Hope u dont mind. I am very new to this . I want to use facebook apis to gather profile information and do some data mining on it using django. Please tell me the starting point for me so that i can proceed further. Hope u dont mind asking silly questions On Thu, Feb 23, 2012 at 5:35 PM,

Re: Mysql problem

2012-02-23 Thread Matt Stevens
I second the Daniel Roseman presentation, check out his blog as well – he has a few posts about optimizing querysets. Get debug-toolbar on there and see what's actually causing it. Bad template code is the most common thing I've found, executing the same query 1,000+ times in a loop when once

Re: Django Comments-Redirecting

2012-02-23 Thread Babatunde Akinyanmi
dude, change {% url %}" /> to your own custom view like the view you used to load the page where you are collecting the comments. Don't mean to be harsh but what were you thinking? django.contrib.comments.views.comments.comment_done by default redirects to the "Thanks for your comment" page.

Re: Django and social network

2012-02-23 Thread Lewis Satini
The only problem with pinax that I dont like is to setup the virtual environment that make me so headache The site that you ask me to check out. It's a very good for me. I look after that site. Thanks -- You received this message because you are subscribed to the Google Groups "Django users"

Re: viewing generated SQL without running the query

2012-02-23 Thread Kelly Nicholes
Can't you get a queryset, like print MyObject.objects.all().query ? On Feb 21, 7:32 pm, diafygi wrote: > There's a previous thread about this[1], but it was closed back in > 2006 without resolution. So I'd like to check back in and see if there > is a way to get a complete

Re: Mysql problem

2012-02-23 Thread Javier Guerra Giraldez
On Thu, Feb 23, 2012 at 6:21 AM, kalyani ram wrote: > a backend having about 2lakh records i couldn't resist, and found this: http://en.wikipedia.org/wiki/Lakh translated, it's "about 200,000 records" -- Javier -- You received this message because you are

Re: About managing dependencies in a collaborative development team and good practices.

2012-02-23 Thread Alen Mujezinovic
Hi Santiago All the mentions of virtualenv and pip are good, but I want to throw in another suggestion that will make your life a lot easier when working in teams and lower the discrepancy between "development machine" and "live server": Vagrant [1]. In fact, we're now running *all* projects

Re: problem API tutorial

2012-02-23 Thread Olmo
Thanks for pointing me the right url, I didn't even realized that I was reading a wrong doc, I will pay more attention to the url paths in the future (I only checked documentation on home page of django project and didn't worry about version). Thanks again for fast response and sorry about

RE: Streamed file upload without form from actionscript

2012-02-23 Thread Sells, Fred
Here's some snippets from my code that work. I had to remove a lot that is specific to my organization, so no guarantees... -from xmitzipfile.py-- def processZipfileBuffer(user, buffer): email = create_mail_object()

Re: problem API tutorial

2012-02-23 Thread Tom Evans
On Thu, Feb 23, 2012 at 12:06 PM, Olmo wrote: >  Hi, it is the first time I post to the list, the cause is that I >  having "issues" with the tutorial You are reading the tutorial for 'trunk', but you have Django 1.3 installed. Read the right tutorial:

problem API tutorial

2012-02-23 Thread Olmo
Hi, it is the first time I post to the list, the cause is that I having "issues" with the tutorial, I mean, when it must create a subdirectory and these files (django-admin.py startproject): mysite/ manage.py mysite/ __init__.py settings.py urls.py

Re: Mysql problem

2012-02-23 Thread kamta singh
use index On Thu, Feb 23, 2012 at 4:51 PM, kalyani ram wrote: > Hey ppl! > > I there anybody who can help me on a problem with a slow page process > with mysql as a backend having about 2lakh records ?? > > Thanks in advance. > > Regards, > kalyani > > -- > You received

Streamed file upload without form from actionscript

2012-02-23 Thread chrapo
Hi, I want to upload large image files from actionscript from Flex. The file upload tutorial https://docs.djangoproject.com/en/dev/topics/http/file-uploads/ handles streamed file upload from a form so the file is transformed in request.FILE['name'], but I don't know how to replicate this in

Re: Django and social network

2012-02-23 Thread Alec Taylor
If I keep persisting? Okay PINAX! On Thu, Feb 23, 2012 at 11:49 PM, coded kid wrote: > I guess my idea can help you out! Install Django 1.3. After > installing, try and download packages like omab/social_auth that will > enable users to log in through facebook, twitter

Re: Django and social network

2012-02-23 Thread coded kid
I guess my idea can help you out! Install Django 1.3. After installing, try and download packages like omab/social_auth that will enable users to log in through facebook, twitter etc. Also download agon_ratings that will enable users to rate. You can get those packages from djangopackages.com. Use

Django Comments-Redirecting

2012-02-23 Thread coded kid
Hi guys, how can I get rid of users being directed to the “Thanks you for your comment” page after commenting in Django site? I users to be redirected to the same page they commented. I’m using Django comments. I’ve tried adding: But it’s not working. Below is codes in my comment/form.html

Re: social networks

2012-02-23 Thread Martey Dodoo
On Wednesday, February 22, 2012 12:25:21 PM UTC-5, yati sagade wrote: > > I have always used the FB API using core Python urllib and other > helpers(after reading the FB API docs, of course), but you may find this > this and >

Re: Mysql problem

2012-02-23 Thread dizzydoc
http://www.slideshare.net/danielroseman/advanced-django-orm-techniques -- 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

Mysql problem

2012-02-23 Thread kalyani ram
Hey ppl! I there anybody who can help me on a problem with a slow page process with mysql as a backend having about 2lakh records ?? Thanks in advance. Regards, kalyani -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,