Re: ANN: Django 1.2.1 released

2010-05-24 Thread Dhruv Adhia
Awesome! Congrats guys! Dhruv Vinodrai Adhia http://www.thirdimension.com On Mon, May 24, 2010 at 12:33 PM, James Bennett wrote: > Following up on last week's Django 1.2 release, today we'd like to > announce Django 1.2.1, the first bugfix release in the 1.2 series: > >

Re: My project is not detecting the geodjango application

2009-10-25 Thread Dhruv Adhia
The error means that are you sure you have added "world" in INSTALLED_APPS which is in settings.py? Dhruv Adhia http://www.thirdimension.com On Sun, Oct 25, 2009 at 10:35 AM, Sahiti Polishetty <sahi.she...@gmail.com>wrote: > Hello .. I want to have google maps in my applic

django deployment using apache and mod_wsgi

2009-10-23 Thread Dhruv Adhia
I have complete application working on localhost and now I want to deploy that so other of my teammates can use it. I have centos, apache, python 2.5 django 1.1.1 I have my django project at /var/www/html/ipwn/carbon_chaos inside carbon_chaos folder I created apache folder and inside apache

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
Allright, working :) Thank you all! Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 4:09 PM, Dhruv Adhia <druf...@gmail.com> wrote: > Just ignore past messages. I got successful posting of data from unity to > django localhost server. Now I am creating POST reques

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
. from django.db import models # Create your models here. class Scores(models.Model): name = models.CharField(max_length=100) score = models.IntegerField() class Meta: verbose_name_plural ="Scores" Thanks a ton! Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 20

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
) return render_to_response('add_score.html', {'leaderboard': leaderboard}) This version does not do what i wanted it do. which is 1) Read the posted data 2) Store it into database Any help would be appreciated. Thanks Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 1:05 PM, Dhruv A

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
d read values sent by unity(which is fine) and store them into database rather than just displaying. Thanks Karen. Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 12:46 PM, Karen Tracey <kmtra...@gmail.com> wrote: > On Thu, Oct 22, 2009 at 3:25 PM, Dhruv Adhia <dru

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
'), Thanks Karen. Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 12:17 PM, Karen Tracey <kmtra...@gmail.com> wrote: > On Thu, Oct 22, 2009 at 2:35 PM, Dhruv Adhia <druf...@gmail.com> wrote: > >> Allright, I see some progress, so now my views looks like

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
ohk , corrected. But then why am I not getting to see the values on browser? is it because the url pattern is not matching? Thanks Daniel. Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 12:05 PM, Daniel Roseman <dan...@roseman.org.uk>wrote: > > On Oct 22, 7:35 pm,

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
Inside my urls, I have the url pattern as (r'^add_score/', 'carbon_chaos.highscore.views.add_score'), # for displaying posted data from unity.. is the url pattern wrong? Thanks Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 11:35 AM, Dhruv Adhia <druf...@gmail.com>

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
7 as you will see name = carbon_chaos and score=100 and some hash value... I am posting those data from unity and when I load the scene I see that activity happening inside the terminal. But it does not display the values inside in the browser. What is the mistake? Thanks Dhruv Adhia http://thirdimensio

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
oops that was a typo.. thanks for pointing that out... Yep I see atleast the html elements getting displayed like those arrows... on the views side I didnt get what f4nt meant.. can you show me an example? Thanks Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 11:05 AM, Daniel

Re: displaying posted data

2009-10-22 Thread Dhruv Adhia
do you mean name = request.POST['name'] ? Thanks Dhruv Adhia http://thirdimension.com On Thu, Oct 22, 2009 at 10:48 AM, f4nt <xxf4n...@gmail.com> wrote: > > You're initting your variables from request.GET instead of > request.POST. > > On Oct 22, 12:20 pm, Dhruv Adh

displaying posted data

2009-10-22 Thread Dhruv Adhia
Hello, Quite a basic question.. I am posting data from Unity, its like name and score. I want to read the posted data and display it. Here is the code that I currently have inside views.py def add_score(request): response_dict ={} if request.POST: name = request.GET['name']

Re: optional username registration

2009-08-15 Thread Dhruv Adhia
, # check for cleaned pasword) This only logs in with email and password. I had ovveride certain other tags in templates too. Thanks for the reply. Dhruv Adhia http://thirdimension.com On Sat, Aug 15, 2009 at 6:12 AM, Léon Dignòn <leon.dig...@gmail.

optional username registration

2009-08-12 Thread Dhruv Adhia
Hello, I have a registration system working and most of the code is pulled out from django code base. I would like to make username optional. Is there any shorter way? Thanks Dhruv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: WAR creation problem

2009-08-03 Thread Dhruv Adhia
This means you dont have django. Go to shell and check if you have django by importing the module and then checking its version. Dhruv Adhia http://thirdimension.com On Mon, Aug 3, 2009 at 2:52 AM, Sumeet <sumeetc...@gmail.com> wrote: > > Hi > > Can anyone help me creating WA

Re: Django 1.1 release candidate now available

2009-07-21 Thread Dhruv Adhia
Go Django! Thanks to everybody and specially developers! Dhruv Adhia http://thirdimension.com On Tue, Jul 21, 2009 at 7:35 PM, James Bennett <ubernost...@gmail.com>wrote: > > Hi folks! Tonight we've pushed out the Django 1.1 release candidate, > which is hopefully the last

Re: I need to get psycopg2 installed on Mac OS X 10.5

2009-07-16 Thread Dhruv Adhia
Yep :) also check >>> psycopg2.__version__ '2.0.8 (dec mx dt ext pq3)' (This is on ubuntu, but you should see version if its installed correctly) Dhruv Adhia http://thirdimension.com On Thu, Jul 16, 2009 at 9:46 AM, Dave Everitt <dever...@innotts.co.uk>wrote: > > I've

Re: django-admin.py complains about missing DJANGO_SETTINGS_MODULE

2009-07-14 Thread Dhruv Adhia
Copy your app to site-packages folder and see if that works. If you dont know where site-packages folder is , do 'which python' from command line and you will get an idea. Dhruv Adhia http://thirdimension.com On Tue, Jul 14, 2009 at 8:22 AM, Nate Reed <natereed@gmail.com>

Re: Receiving information

2009-07-04 Thread Dhruv Adhia
Nope I have not used it, Can you give me an example of it? Thanks, On Sat, Jul 4, 2009 at 9:01 AM, chefsmart <moran.cors...@gmail.com> wrote: > > Did you try HttpRequest.raw_post_data > > Regards, > CM. > > On Jul 3, 9:44 pm, Dhruv Adhia <druf...@gmail.com> w

Re: Best distro for django

2009-07-03 Thread Dhruv Adhia
t I've found this a notably more painful >> experience than on the other two tiers of platforms. >> >> >> I haven't tinkered with Solaris in *years* so I don't know >> whether that would be top- or middle-tier. >> >> >> However, once you've got the

Receiving information

2009-07-03 Thread Dhruv Adhia
Hello All, I am trying to send information from iPhone to django app through json. I got "Message" json block spitting in the form as below: message json format { "Messages": [ { "id":1.2.3.n, "Message": "some message"

Re: Tutorial 2 - Template Dirs

2009-06-30 Thread Dhruv Adhia
> at the end of tutorial 2, it asks to specify my directory of tempaltes > in the settings.py file under the template_dirs tuple. > > Where are the templates i created stored? > > Sorry, Newbie at Django, but looking to help out in the near future! > > Thanks, > Divesh > >

Re: TinyMCE django admin

2009-06-25 Thread Dhruv Adhia
Yep you got me :) I am quite familier with django now, but haven't tried forms till now!! Thanks! On Thu, Jun 25, 2009 at 4:59 PM, Joost Cassee <jo...@cassee.net> wrote: > > On Jun 25, 7:08 pm, Dhruv Adhia <druf...@gmail.com> wrote: > > > I was just googling and came

Re: TinyMCE django admin

2009-06-25 Thread Dhruv Adhia
in the Hacky way I change plugins,themes,skins stuff and it shows up the changes. Can we do this with widgets? Thanks, On Thu, Jun 25, 2009 at 12:38 AM, Joost Cassee <jo...@cassee.net> wrote: > > On Jun 24, 6:51 pm, Dhruv Adhia <druf...@gmail.com> wrote: > > > Second part is

Re: Entering large chunk of data

2009-06-24 Thread Dhruv Adhia
e: > > in sqlite3 (the sqlite3 shell), you can use .import to import data from > a text file. It works great. You may need to change the separator. > For a one time load, this is probably the easiest method. > > Dhruv Adhia wrote: > > Hey, > > > > I would prefer s

Re: Entering large chunk of data

2009-06-24 Thread Dhruv Adhia
; > http://docs.djangoproject.com/en/dev/ref/django-admin/ >. > > Toodle-looo... > creecode > > On Jun 24, 10:23 am, Dhruv Adhia <druf...@gmail.com> wrote: > > > I have news field in django admin and I would like to enter 2000 news > > items

Entering large chunk of data

2009-06-24 Thread Dhruv Adhia
Hello All, I have news field in django admin and I would like to enter 2000 news items at once. May I know how to do it in shorter way? Thanks, Dhruv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: TinyMCE django admin

2009-06-24 Thread Dhruv Adhia
Allright Joost, Second part is working. I am new to those firebug stuff. Can you guide me to docs? Thanks, On Wed, Jun 24, 2009 at 6:34 AM, Joost Cassee <jo...@cassee.net> wrote: > > On Jun 24, 6:10 am, Dhruv Adhia <druf...@gmail.com> wrote: > > Hello All, > &

TinyMCE django admin

2009-06-23 Thread Dhruv Adhia
Hello All, I have following under models.py from django.db import models from django.contrib import admin from tinymce import models as tinymce_models class BlogPost(models.Model): title = models.CharField(max_length=150) body = models.TextField() #observe, thats how you get big

Re: psycopg2.OperationalError: fe_sendauth: no password supplied

2009-06-23 Thread Dhruv Adhia
/lib/djangotrunk/django/db/backends/ > __init__.py", line 62, in cursor >cursor = self._cursor(settings) > File "/users/home/system/lib/djangotrunk/django/db/backends/ > postgresql_psycopg2/base.py", line 84, in _cursor >self.connection = Database.connect(conn_st

Re: psycopyg setup error: no build_ext

2009-06-23 Thread Dhruv Adhia
No such file or directory > > > > > and easy_install doesn't work either (seems like the same problem): > > > > > 510 ~/Desktop/psycopg2-2.0.9$ easy_install . > > > Processing . > > > Running setup.py -q bdist_egg --dist-dir /Users/home/Desktop/ > &g

Re: running into problems with polls tutorial

2009-06-21 Thread Dhruv Adhia
t under polls and index > function does exist in views.py. Why is it having problem importing > it? > > > -- Dhruv Adhia http://thirdimension.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Installation error

2009-06-20 Thread Dhruv Adhia
Does not matter where you install them Did you run python setup.py install from inside django dir? Sent from my iPhone On 19-Jun-09, at 5:18 PM, 78fxs wrote: > > All righty...not only am i new to django and python, i am new to using > the terminal on my mac. so this is

configuring postgresql_psycopg2 with geodjango

2009-06-18 Thread Dhruv Adhia
Hello, I tried installing and running geodjango and went into some troubles. I am fairly new to django. I tried following the docs out here http://geodjango.org/docs/install.html and got stuck on postgis part and was not able to proceed further ./configure --datadir=`pg_config --sharedir`

Re: django nginx fastcgi and flup

2009-06-12 Thread Dhruv Adhia
ango nginx fastcgi and flup recently? > > If there is an obvious problem that I haven't heard about then any links > I"d be grateful > > I'll post the problem back to this forum as I work though it, it might help > someone out. > > Hopefully me :-) > &g

Re: Running django app on apache server

2009-06-10 Thread Dhruv Adhia
? On Wed, Jun 10, 2009 at 2:51 PM, Dhruv Adhia <druf...@gmail.com> wrote: > ok found it! > > On Wed, Jun 10, 2009 at 2:35 PM, Dhruv Adhia <druf...@gmail.com> wrote: > >> I have installed mod_python and I on my way to edit httpd.conf but could >> not find t

Re: Running django app on apache server

2009-06-10 Thread Dhruv Adhia
ok found it! On Wed, Jun 10, 2009 at 2:35 PM, Dhruv Adhia <druf...@gmail.com> wrote: > I have installed mod_python and I on my way to edit httpd.conf but could > not find the file. May I know where can I find it? > > Thanks, > > > On Wed, Jun 10, 2009 at 1:20 PM, Dhr

Re: Running django app on apache server

2009-06-10 Thread Dhruv Adhia
I have installed mod_python and I on my way to edit httpd.conf but could not find the file. May I know where can I find it? Thanks, On Wed, Jun 10, 2009 at 1:20 PM, Dhruv Adhia <druf...@gmail.com> wrote: > Thanks Alex. > > > On Wed, Jun 10, 2009 at 1:15 PM, Alex Gaynor <

Re: Running django app on apache server

2009-06-10 Thread Dhruv Adhia
Thanks Alex. On Wed, Jun 10, 2009 at 1:15 PM, Alex Gaynor <alex.gay...@gmail.com> wrote: > > > On Wed, Jun 10, 2009 at 3:13 PM, Dhruv Adhia <druf...@gmail.com> wrote: > >> >> Hello, >> >> Can anybody explain me how would I run django app o

Re: {% url %} in conjunction with context variable

2009-06-10 Thread Dhruv Adhia
; I'm trying to figure out how to use the {% url %} tag in conjunction > with a context variable. For example, I have the context variable > 'app_name' available in my template, and I'd like to do something like > this: > > List {{app_name}} > > Anyone know how to do this? > &

Running django app on apache server

2009-06-10 Thread Dhruv Adhia
Hello, Can anybody explain me how would I run django app on apache server other than development server? Thank you, Dhruv --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

image upload

2009-06-09 Thread Dhruv Adhia
Hello, I am new to django, any help would be appreciated. I got admin backend part working class Thing(models.Model): poll = models.ForeignKey(Poll) # assigning specific image for each question name = models.CharField(blank=False, null=False, max_length=30) photo =

Re: Django Tutorial 3 for beginners: What's wrong with the detail.html?

2009-06-09 Thread Dhruv Adhia
(r'^polls/(?P\d+)/$', 'mysite.polls.views.detail'), > > (r'^polls/$', 'mysite.polls.views.index'), > > (r'^polls/(?P\d+)/results/$', > > 'mysite.polls.views.results'), > > (r'^polls/(?P\d+)/vote/$', 'mysite.polls.views.vote'), > > > > (r'^a

Re: image upload

2009-06-07 Thread Dhruv Adhia
d image from backend and it will show up in frontend. Thank you, On Fri, Jun 5, 2009 at 4:33 PM, Dhruv Adhia <druf...@gmail.com> wrote: > Yep Ill try and see if it works. > > Thank you! > > > On Fri, Jun 5, 2009 at 3:32 PM, Antoni Aloy <antoni.a...@gmail.com> wrot

Re: image upload

2009-06-05 Thread Dhruv Adhia
Yep Ill try and see if it works. Thank you! On Fri, Jun 5, 2009 at 3:32 PM, Antoni Aloy <antoni.a...@gmail.com> wrote: > > 2009/6/5 Dhruv Adhia <druf...@gmail.com>: > > > > I am new to django and was searching for thorough tutorial for image > > upload. &g

image upload

2009-06-05 Thread Dhruv Adhia
I am new to django and was searching for thorough tutorial for image upload. What I want to do is add image upload field in backend and after uploading image from admin section it shows in frontend Thank you, Dhruv Adhia --~--~-~--~~~---~--~~ You received