0
votes
1answer
16 views

How to use different view for django-registration?

I have been trying to get django-registration to use the view RegistrationFormUniqueEmail and following the solution from this django-registration question. I have set my urls.py to from ...
0
votes
0answers
9 views

Copying manytomany field value without hitting DB

I have a proxy model. Now I would like to cast from a given instance of its parent model to an instance of the proxy. I have this code in my manager: def from_parent_user(self, user): instance ...
0
votes
0answers
24 views

models.DateTimeField(auto_now_add = True)

I have a problem with my models.DateTimeField, because I´m from México and in settings.py I use this: TIME_ZONE = 'America/Mexico_City' But when i add a register in my mysql database, it says that ...
2
votes
0answers
45 views

Why are django model classes not of type “type”?

Open a python shell on your django project root with python manage.py shell and observe the following: >>> class A(object): pass #checking type of user-defined class ... >>> type(A) ...
0
votes
2answers
25 views

append new criteria to actual search url during paging

I am having hard times to append a new criteria to the existing url say, i have this url after search-submit: /found_items/?state=bla&score=bla and in the result page, i have a paginator, i ...
0
votes
1answer
23 views

sort search result but keep the result - django

I am stuck in this issue: I have a search engine in my page. one can search and get results of more than 2 pages. I am rendering the pages with paginator. But the current problem is that once I ...
0
votes
0answers
22 views

django tastypie - api authentication ? its server for ios app

I am building IOS app that talks to django server for getting the data. This app uses facebook authentication for login, so I am thinking like this: In IOS app, after clicking login button(fb auth), ...
0
votes
0answers
33 views

Customized django manage.py use case

I am actually using django only to use its Object relational mapper(ORM) feature and, currently, have nothing to do with its web-framework. At present I have successfully been able to customize ...
0
votes
1answer
44 views

Add Text on Image using PIL.

I have an application that loads an Image and when the user clicks it, a text area appears for this Image (using jquery), where user can write some text on the Image. Which should be added on Image. ...
0
votes
1answer
15 views

django-tables - cannot concatenate 'str' and 'tuple'

I'm trying to use django-tables2 in my project. Here is my model class Client(models.Model): comp = models.ForeignKey(Company) user = models.ForeignKey(User) def __unicode__(self): ...
0
votes
0answers
18 views

Django runserver, and s3boto backend

Django's "manage.py runserver" has the wonderful ability to magically gather altered CSS, JS, and image files as it's running. This makes the save changes-reload cycle incredibly fast when doing ...
0
votes
2answers
22 views

Subnavigation in Django

I need a subnavigation on my pages. I inherit from base.html where the main navigation is located, but I don't know how to make a subnavigation which differs from page to page. I've thought about ...
0
votes
0answers
19 views

Displayed Date is different from data in Django

I am having trouble with displaying the correct date on my django app For example In my database, it is stored as "2013-05-03 22:20:01-07" When I call it in the template by using {{ task.dateadded ...
0
votes
2answers
29 views

maximum recursion depth exceeded in cmp error while executing python manage.py runserver

I'm trying to install Django in my mac. when I run the command python manage.py runserver. I get the error RuntimeError: maximum recursion depth exceeded in cmp. I have pasted my error message below. ...
0
votes
1answer
26 views

Multiple Django Model Queries Changing Independently in One View

I have three models being called separately -- one in my first column, the second in my second column, and the third in my third column. The first is the categories and will stay the same. The second ...

1 2 3 4 5 1361
15 30 50 per page