Search Discussions

177 discussions - 644 posts

  • 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 MannHarjot 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 RishiVibhu 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 MannHarjot 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 ŠimonRobert 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 ProcidaDaniele 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. CookTimothy 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 SawyerSteve 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. FerreroRafael 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 ...
    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 PadiAamu 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 ColaPepsodent 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. CookTimothy 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 ...
    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 EdmistonKeith 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 SJason 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 LondonGeorge 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 LindMatt 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 LeryRobin 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 PadiAamu 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 TrantaVojtě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 CreixellPau 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 ...
    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 DasMrinmoy 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 BenjaAmimo 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 KarargyrisAlex 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. CookTimothy 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 ...
    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. TIR. 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. CookTimothy 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 PadiAamu Padi
    Nov 3, 2013 at 8:23 pm
    Nov 5, 2013 at 9:39 pm
  • je suis sur un projet qui utilise django mais j'ai encore peu d'idée sur le fonctionnement de django ( ses capacités, dans les script python, avec les sgbd, ses limite, ses failles) -- You received ...
    Assane KaAssane Ka
    Nov 27, 2013 at 1:10 pm
    Nov 28, 2013 at 12:59 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 LamChi 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 SandersThorsten 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 BrightPhoebe 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 ReaEamonn 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 ...
    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 PadiAamu 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 = ...
    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 PadiAamu 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 TaylorAndrew 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 ...
    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 ...
    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 DufresneJon 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. CookTimothy 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íguezFerdy 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 EdmistonKeith 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 ...
    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 ...
    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 ...
    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 FraserDouglas Fraser
    Nov 28, 2013 at 4:50 pm
    Nov 28, 2013 at 8:45 pm
Group Navigation
period‹ prev | Nov 2013 | next ›
Group Overview
groupdjango-users @
categoriesdjango, python

226 users for November 2013

Timothy W. Cook: 34 posts Aamu Padi: 23 posts Rafael E. Ferrero: 22 posts Harjot Mann: 20 posts Daniel Roseman: 16 posts Tom Evans: 15 posts Tim: 14 posts Pepsodent Cola: 11 posts Avraham Serour: 10 posts MikeKJ: 10 posts Amimo Benja: 9 posts Javier Guerra Giraldez: 8 posts Keith Edmiston: 8 posts Leonardo Giordani: 8 posts Steve Sawyer: 8 posts Vibhu Rishi: 8 posts Vincenzo Prignano: 8 posts Anssi Kääriäinen: 7 posts Fred Stluka: 7 posts Jason S: 7 posts
show more