Search Discussions
-
19
django tests
I am creating tests for my django app. Here is my test and I am getting an error. Here is my test code. UserProfile is my model name and profile is my view corresponding to that ...Harjot Mann
Nov 22, 2013 at 4:17 am
Nov 23, 2013 at 4:12 pm -
hi, I have a setup where I have a project details page, and I can do a "send email" which should send the email with the URL. Email is working fine. The problem is that i am getting a relative url in ...
Vibhu Rishi
Nov 29, 2013 at 10:01 am
Dec 3, 2013 at 2:24 pm -
I want to know that how can we debug django applications? I got pdb but I think in this some commands are need to use and then I come to know about pycharm. Is it good? I successfully installed it ...
Harjot Mann
Nov 5, 2013 at 6:30 pm
Nov 12, 2013 at 4:40 pm -
I search for how can i do this, but i didnt find anything. Can you help me? It would be great if it can be on IIS 7.5 -- You received this message because you are subscribed to the Google Groups ...
Robert Jonathan Šimon
Nov 7, 2013 at 10:18 am
Nov 9, 2013 at 9:17 pm -
I have been exploring a rather complex query: # get all the MPTT descendants of entity entities = entity.get_descendants() # get all the Researchers in these Entities researchers = ...
Daniele Procida
Nov 1, 2013 at 5:45 pm
Nov 8, 2013 at 3:48 pm -
I have an issue with save data from a form. The actual form has one required and two optional fields. The model has three additional fields that I want to assign based on the context, two of those ...
Timothy W. Cook
Nov 24, 2013 at 1:46 pm
Nov 27, 2013 at 10:38 am -
Django 1.6 Python 3.3 Windows 7 pro I've been anxiously awaiting Django 1.6 as I've been learning Python 3 for the last year. I tried unsuccessfully to go through the tutorial using Django 1.5.5, and ...
Steve Sawyer
Nov 12, 2013 at 5:57 pm
Jan 7, 2014 at 5:57 pm -
Has someone used some invitation app for django like django-invitation [1]... and more, has someone integrated something like that with AllAuth [2] ?? In a project I need visitors to register on the ...
Rafael E. Ferrero
Nov 7, 2013 at 12:55 pm
Nov 8, 2013 at 2:52 pm -
Hello I am trying to run a project that was setup in another server, but getting the following error. I am using python 2.7, django, virtualenv. So I am running the project inside a python virtual ...
Tino
Nov 29, 2013 at 5:44 pm
Dec 5, 2013 at 6:16 pm -
How do I get the class name in string of a ContentType? I tried it this way, but it didn't worked out: class StreamItem(models.Model): user = models.ForeignKey(User) content_type = ...
Aamu Padi
Nov 28, 2013 at 5:04 pm
Dec 1, 2013 at 11:42 am -
1.) How do I use mathematical calculations on my forloop Article/Publication list? * I have attached a screenshot with the table field that I'm working on *"Publicists coverage (%)"*. * Admin ...
Pepsodent Cola
Nov 20, 2013 at 9:29 pm
Nov 24, 2013 at 10:55 am -
I see there was a similar question on this issue earlier today but alas it didn't answer my question. In my app I have models for: Project: a project (not really part of this question but used for ...
Timothy W. Cook
Nov 20, 2013 at 7:11 pm
Nov 21, 2013 at 10:29 am -
Hello, I am trying to setup a python 2.7 + Django + virtualenv + mod_wsgi environment in my centos 6.3 server to run my python application through apache. But I am getting internal error while trying ...
Tino
Nov 15, 2013 at 9:35 am
Nov 15, 2013 at 4:39 pm -
Hi, I am building a new site in Django 1.4 and I'm using the South migration tool to keep my dev MySQL database in sync with changes made to my models. It should be said that I use one MySQL database ...
Keith Edmiston
Nov 8, 2013 at 3:55 pm
Nov 11, 2013 at 11:11 pm -
Hi, Disclaimer - I'm new to django and python, so please bear with me. Note: My django instance uses a nosql database. I'm trying to create a formset which has multiple forms based on models. The ...
Jason S
Nov 7, 2013 at 10:25 am
Nov 11, 2013 at 9:10 am -
Hi All! As a fairly recently self-taught Djangonaut, I was a bit dissatisfied with the existing resources for learning to deploy Django in a production setting. There are lots of blog posts about how ...
George London
Nov 6, 2013 at 12:34 am
Nov 6, 2013 at 6:51 pm -
So I am trying to modify django-jfu ( a multi uploader) to send files to a unique directory for every unique upload session performed. This is just due to my application's requirements and to prevent ...
Matt Lind
Nov 23, 2013 at 3:35 pm
Dec 5, 2013 at 2:50 pm -
This may be a lame question, but I am really confused with these two. I know *signals* are used to do some task when something has happened. But what about celery? In the documentation it says ...
Robin Lery
Nov 29, 2013 at 6:52 pm
Dec 1, 2013 at 5:32 pm -
I am trying to create a project for creating feeds/activity feeds of a user with the help of a blog<http://ryanberg.net/blog/2008/jun/24/basics-creating-tumblelog-django/ . These are the models - ...
Aamu Padi
Nov 28, 2013 at 10:45 pm
Nov 29, 2013 at 4:45 pm -
Hi, do you have any clue why this does not work? def index(request): if request.method == 'POST' and request.POST: event_form = EventForm(request.POST) event = event_form.save() today = ...
Vojtěch Tranta
Nov 26, 2013 at 12:30 am
Nov 29, 2013 at 2:17 pm -
Hi there! I am trying to run jobs in the background using the following (minimal) code: Under views.py: def submit(request): model = MyModel() model.RunInAThread(ReferenceSeparator, ...
Pau Creixell
Nov 27, 2013 at 7:59 pm
Nov 28, 2013 at 11:03 am -
Hello, There is an upcoming project where support for an existing application where Microsoft SQL Server is being used. Switching to another database is not an option. There are hundreds of custom ...
CLIFFORD ILKAY
Nov 21, 2013 at 6:20 pm
Nov 23, 2013 at 12:59 am -
Hi, I have made a functionality where a user can input address through google map on a site. Now the thing is, how can I enable the same stuff on django admin panel? I am using ...
Mrinmoy Das
Nov 19, 2013 at 1:24 pm
Nov 20, 2013 at 8:00 pm -
Hey all, Am currently practicing using this tutorial http://www.tangowithdjango.com/book/chapters/forms.html, but I'm constantly getting this error "The current URL, rango/category//add_page/, didn't ...
Amimo Benja
Nov 13, 2013 at 12:17 pm
Nov 20, 2013 at 2:12 pm -
I have this simple app that I opens webcam and processes the frames using OpenCV. In my views.py I have the following code: def processImage(): while True: rval, frame = settings.CAP.read() //Read ...
Alex Karargyris
Nov 15, 2013 at 4:35 pm
Nov 19, 2013 at 1:37 am -
Well, this isn't likely a Django specific question but since this project is built in Django, I'd like to know how best to handle this issue. I have a view that calls a function and performs a long ...
Timothy W. Cook
Nov 14, 2013 at 2:37 pm
Nov 14, 2013 at 3:26 pm -
This is driving me nuts.... I do not want the user to be able to select organisation I want to populate the form field with the known organisation.... organisation is a foreignkey to the model I am ...
MikeKJ
Nov 12, 2013 at 2:30 pm
Nov 12, 2013 at 3:40 pm -
have migrated django website from live server to my localhost, i took the backup of posrgresql database and attached to my localhost i have changed the databse connection details in the ...
IR. T
Nov 9, 2013 at 4:07 pm
Nov 11, 2013 at 12:46 pm -
I have a view that creates a list of managers in the context. I want to test if a logged in user is in the list before displaying a link to the manager dashboard. class IndexView(TemplateView) ...
Timothy W. Cook
Nov 9, 2013 at 1:55 pm
Nov 10, 2013 at 9:11 am -
How to make a model with a yes/no field, if yes that particular object (image) will be used as the background, and no other image will be selected. I have come with this model: class ...
Aamu Padi
Nov 3, 2013 at 8:23 pm
Nov 5, 2013 at 9:39 pm -
Hi, I have a django-celery task to retrieve data from a third party service and store into my database. But I found an error in my log file, which is None: Invalid control character at: line 1134 ...
Chi Tak Lam
Nov 9, 2013 at 3:46 pm
Nov 20, 2013 at 2:37 pm -
Hello, wondering if I am doing something wrong or it is a bug, using django 1.5.5, but also tried with 1.6 resulting in the same problem. When I do the following: realms=[1] data = ...
Thorsten Sanders
Nov 16, 2013 at 12:41 pm
Nov 19, 2013 at 1:13 pm -
I have this line in my code where the functions return an ID and what I wanted was to select all records that did not belong to one of these users. Carbon.objects.filter(~Q(user__in = [limbo_user(), ...
Phoebe Bright
Nov 11, 2013 at 12:06 pm
Nov 15, 2013 at 10:50 am -
Hi! I'm fairly new to Django, but I am so far loving it. So, I was wondering: Is it possible to write simple 2D games with Django? I'm not new to Python. I've been programming in Python for about a ...
Eamonn Rea
Nov 13, 2013 at 7:07 pm
Nov 14, 2013 at 2:30 am -
I would like to store images directly into the database i have been trying this but does not seem to help or i may be doing it in the wrong way'' models.py from database_storage import ...
Ckgathi
Nov 12, 2013 at 12:20 pm
Nov 12, 2013 at 4:25 pm -
This is my models.py: class Image(models.Model): user = models.ForeignKey(User) caption = models.CharField(max_length=300) image = models.ImageField(upload_to=get_upload_file_name) pub_date = ...
Aamu Padi
Nov 4, 2013 at 10:33 pm
Nov 5, 2013 at 6:48 pm -
I made an effort to simplify my app and translate it into English. Here it is ================= models.py ................................. class Items(models.Model): code = ...
Victor
Nov 7, 2013 at 9:04 am
Jan 27, 2014 at 2:01 am -
This may be a lame question, but how do I use the primary key as a default value for an attribute? This is my models.py: *class Thread(models.Model): thread_pk = ...
Aamu Padi
Nov 30, 2013 at 5:38 pm
Dec 1, 2013 at 2:11 pm -
Hi, I'm struggling with the concepts of get and post and where these status come from in the workflow. I have worked my way through the official pages on forms but I have not quite understood this to ...
Andrew Taylor
Nov 28, 2013 at 3:24 am
Nov 29, 2013 at 2:34 am -
Hi there, I used the form here: https://www.djangoproject.com/community/add/blogs/ to add my blog feed a while ago. But it was never added. Does anyone still check those feed submissions? The actual ...
Silvio
Nov 26, 2013 at 9:14 pm
Nov 28, 2013 at 11:13 pm -
I have seen few posts on various Facebook libraries that can be used with Django to allow a user to login using Facebook credentials. Having tried a few of them, I did not find any examples that ...
Spk265
Nov 22, 2013 at 12:36 pm
Nov 23, 2013 at 4:04 am -
Hi, I recently upgraded my Django application from 1.5 to 1.6. This application runs on Apache with mod_wsgi. After upgrading, Django seems unable to access environment variables set by Apache using ...
Jon Dufresne
Nov 21, 2013 at 3:17 am
Nov 22, 2013 at 6:24 pm -
I am trying to setup some context variable for use in a template when I execute a create view. class ReviewTitleCreateView(CreateView): model = Review form_class = ReviewTitleCreateForm template_name ...
Timothy W. Cook
Nov 22, 2013 at 11:12 am
Nov 22, 2013 at 1:46 pm -
Hi, I've been wanting to to test django 1.6, I'm installing this new release on a virtualenv. However, whenever a to *django-admin.py startproject mysite* I get the settings.py and urls.py from ...
Ferdy Rodríguez
Nov 9, 2013 at 9:04 pm
Nov 15, 2013 at 9:29 am -
PROBLEM: I am attempting to implement the Django Admin on a new project, but when I log in the page simply reloads to the login screen as if nothing was done. It should be noted that if I use ...
Keith Edmiston
Nov 12, 2013 at 2:23 pm
Nov 12, 2013 at 8:01 pm -
The django book was my first contact with django but as the website itself states it is way out of date (covering django 1.0 and mentioning here and there 1.4). The same website suggests their github ...
Voger
Nov 9, 2013 at 4:05 pm
Nov 10, 2013 at 11:49 pm -
HELLO , I AM NOT GETTING HOW TO INSTAL THE DJANGO AND PYTHAN ON OUR MACHINE. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from ...
HUGAR MANJUNATH Manjunath
Nov 9, 2013 at 6:40 pm
Nov 10, 2013 at 12:28 am -
Hi to all friends ! I am working in django project its has many apps with their default db configured. So now i need to read (and possible write) to third DB (mysql) and i found a thread[1] here ...
Ovnicraft
Nov 8, 2013 at 2:45 pm
Nov 8, 2013 at 5:32 pm -
Hi, The website I deal with uses file based sessions, and there is no logging in of users or anything like that. Most of the time, no data is put into the session, and the session expiry time is not ...
Douglas Fraser
Nov 28, 2013 at 4:50 pm
Nov 28, 2013 at 8:45 pm
Group Overview
group | django-users |
categories | django, python |
discussions | 177 |
posts | 644 |
users | 226 |
website | djangoproject.com |
226 users for November 2013
Archives
- June 2016 (290)
- May 2016 (491)
- April 2016 (514)
- March 2016 (465)
- February 2016 (662)
- January 2016 (505)
- December 2015 (415)
- November 2015 (526)
- October 2015 (476)
- September 2015 (456)
- August 2015 (554)
- July 2015 (590)
- June 2015 (536)
- May 2015 (641)
- April 2015 (642)
- March 2015 (800)
- February 2015 (604)
- January 2015 (823)
- December 2014 (718)
- November 2014 (795)
- October 2014 (750)
- September 2014 (764)
- August 2014 (755)
- July 2014 (700)
- June 2014 (67)
- May 2014 (453)
- April 2014 (527)
- March 2014 (531)
- February 2014 (585)
- January 2014 (611)
- December 2013 (516)
- November 2013 (644)
- October 2013 (841)
- September 2013 (741)
- August 2013 (916)
- July 2013 (973)
- June 2013 (847)
- May 2013 (974)
- April 2013 (1,049)
- March 2013 (1,032)
- February 2013 (871)
- January 2013 (915)
- December 2012 (827)
- November 2012 (872)
- October 2012 (1,034)
- September 2012 (1,208)
- August 2012 (1,081)
- July 2012 (1,435)
- June 2012 (1,191)
- May 2012 (1,406)
- April 2012 (624)