upgrading to 1.5.1

2013-08-17 Thread Harjot Mann
Hello Everyone Currently I am using django version 1.4.5 and I want to upgrade it to 1.5.1, I have an app in django. I want to know that what problems will I face while upgrading to that version. I have no idea about the features of new version. Any major points which I need to take into considerat

Foreign key to different model types

2013-08-17 Thread Kristofer
Hello, I remember seeing this some time ago, but can't remember what it is called or where it is in the documentation. I am looking for the feature that allows for a field to reference a key in multiple tables. For example, lets say I have several models: User, Address, Message. Each of these

rewriting URLs from foo.example.com/hello to example.com/foo/hello

2013-08-17 Thread Chris Curvey
Hey all, I have a django project going where we're going to be adding a bunch of small, independent sites. So I figured I would have one Django project to contain everything, then a separate app for each site, and just let folks to www.example.com/foo/hello, www.example.com/bar/goodbye, etc B

Django as a webserver work with Android app and controll arduino

2013-08-17 Thread akhyar sadad
Hi everyone. I want to make an project that django work as webserver and work with android app client as well. there is arduino also as controller that work with many sensor hooked in the pin. the question is, I am definitely new in both django and android java's programming. How three different

Re: Capturing a search query + params in Django 1.5

2013-08-17 Thread Daniel Roseman
On Saturday, 17 August 2013 20:04:22 UTC+1, Lloyd Dube wrote: > > Hi, > > I have a simple web application in which I have a search box. When a user > enters a query in the box and hits "search", they get a list of results via > a popular search API. > > My issue is that I am using django-endle

Capturing a search query + params in Django 1.5

2013-08-17 Thread Sithembewena Lloyd Dube
Hi, I have a simple web application in which I have a search box. When a user enters a query in the box and hits "search", they get a list of results via a popular search API. My issue is that I am using django-endless-pagination to paginate (no kidding!) the API response - after some formatting,

django query

2013-08-17 Thread Robin Lery
Hello, I have a model like this: class Forum(models.Model): question = models.CharField(max_length=150) body = models.TextField() pub_date = models.DateTimeField(default=datetime.now) image = models.ImageField(upload_to=get_upload_file_name) creator = models.ForeignKey(User, related_name="creator_

Re: RequestContext and request.user

2013-08-17 Thread Robin Lery
Thank you Lucas! On Fri, Aug 16, 2013 at 10:55 PM, Lucas Magnum wrote: > Robin, > RequestContext, includes TEMPLATE_CONTEXT_PROCESSORS results. > request is a result of "django.core.context_processors.request". > > > https://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-re

Re: My poll doesn't work when I start using related_name, help please.

2013-08-17 Thread Pepsodent Cola
Yay, it worked! Thank you Dr. Roseman. :) *[SOLVED]* * * On Friday, August 16, 2013 4:51:36 PM UTC+2, Daniel Roseman wrote: > > On Friday, 16 August 2013 14:06:38 UTC+1, Pepsodent Cola wrote: > >> ### PART A >> >> My altword_list template file receives a primary key ID from my Index >> templ

Re: As a New Bee

2013-08-17 Thread Sujeet Buddiga
Hi, Thanks for your kind response Apokalyptica Painkiller and Karl Arunachal. -> The problem i face with Ninja IDE is, im not able to install plugin's online as im in a proxy network. -> Is it okay to start with PyCharm as its not OpenSource... Kindly Please add some Django tutorials, whe

Re: As a New Bee

2013-08-17 Thread Karl Arunachal
Pycharm! On Fri, Aug 16, 2013 at 7:58 PM, Apokalyptica Painkiller < apokalyptic...@gmail.com> wrote: > Hello Sujeet try this IDE: http://ninja-ide.org/ > > I hope you like it! > > > 2013/8/16 Sujeet Buddiga > >> Hi Djano'ans, >>Im a new bee to Django and would like to work w