FAQ

Search Discussions

172 discussions - 598 posts

  • Hi guys, I'm trying to solve a problem using the new `Prefetch` but I can't figure out how to use it. I have these models: class Desk(django.db.models.Model): pass class ...
    cool-RRcool-RR
    Feb 25, 2015 at 8:05 pm
    Mar 3, 2015 at 11:24 am
  • Hey guys, so basicly I want to send a GET request with ajax to one of my views and the specific view returns an html response that will be loaded on a div. The problem is that is doesn't seems to ...
    João MarquesJoão Marques
    Feb 18, 2015 at 1:30 pm
    Feb 21, 2015 at 2:20 am
  • I'm kind of new in python/django and I'd like to know: What's the best approach to filter results in Django using forms in a view? I need to filter candidates by haircolor, according to the model ...
    Ronaldo BahiaRonaldo Bahia
    Feb 20, 2015 at 8:10 pm
    Feb 26, 2015 at 4:42 am
  • Hi, i'm going to invest lots of time and energy in various web projects (mostly community web sites), and want to pick up a language / framework and invest heavily on it. I've spent a lot of time ...
    BenjBenj
    Feb 24, 2015 at 11:43 pm
    Mar 6, 2015 at 6:44 pm
  • I got a virtual machine with Linux centos that we are going to use for our django webpage. that machine will have the html service on. so when people go to the computer typing the IP, will show them ...
    DkDk
    Feb 24, 2015 at 9:37 pm
    Feb 25, 2015 at 8:25 pm
  • Hi, I have migrated my project to a new installation of Apache + mod_wsgi 3.2.1 + python 2.6.1 + Django 1.2.1, i kept the same versions just to be sure that i do not have any problems with my ...
    Alexandrosstylianou88Alexandrosstylianou88
    Feb 20, 2015 at 4:57 pm
    Feb 25, 2015 at 11:08 am
  • Hi list, I'm tracking down a bug in my app that shouldn't be happening with the transaction statements I added in my code. In my logging settings, I can set 'django.db.backends' to DEBUG to log the ...
    Erik CederstrandErik Cederstrand
    Feb 10, 2015 at 4:15 pm
    Feb 10, 2015 at 11:39 pm
  • Hello, I'm trying to implement custom subdomains on a customer site and am having trouble understanding how the HOST option in settings.py works. The requirement is that if a user logs in, they ...
    Abraham VarricattAbraham Varricatt
    Feb 5, 2015 at 12:12 pm
    Feb 5, 2015 at 4:21 pm
  • Hello, I was wondering how I can send a response JSON in a good way, because I have the next code: if "product_id" in request.POST: try: id_producto = request.POST['product_id'] p = ...
    ElcaiaimarElcaiaimar
    Feb 19, 2015 at 7:14 pm
    Feb 21, 2015 at 12:49 am
  • Hello, I'm trying to make an app where folks can order X quantity of an item. The condition is that the order should only be made if inventory exists. Assume that we have stock of Y items. This means ...
    Abraham VarricattAbraham Varricatt
    Feb 18, 2015 at 5:01 am
    Feb 19, 2015 at 5:29 pm
  • Hello :) Can you dump us the layout of your files? Where is your forms.py? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe ...
    aRkadeFRaRkadeFR
    Feb 17, 2015 at 11:42 am
    Feb 18, 2015 at 12:29 pm
  • I have a django view (django v. 1.7 ; python v. 2.7.8) which currently and successfully sends a request to an api, and receives a good response back. I'm sending and receiving using the 'requests' ...
    Henry VersemannHenry Versemann
    Feb 5, 2015 at 7:10 pm
    Feb 7, 2015 at 5:15 pm
  • I have an ansible provisioned VM based on this one https://github.com/jcalazan/ansible-django-stack but for some reason trying to start Gunicorn gives the following error: *Can't connect to ...
    KaloianKaloian
    Feb 25, 2015 at 6:16 am
    Mar 7, 2015 at 12:57 pm
  • I have tried using the request_finished signal but nothing happens when I tried testing it. What suggestions or recommendations can I do to help fix the problem? Thank you. Below is a sample of the ...
    RootzRootz
    Feb 25, 2015 at 5:01 pm
    Feb 26, 2015 at 6:02 pm
  • I have a functioning Django application that is based on sqlite3, but I want to change to using Postgres. I have altered the DATABASES clause in settings.py to use Postgres. and I am using Django ...
    TalexTalex
    Feb 19, 2015 at 7:04 am
    Feb 21, 2015 at 7:16 am
  • i do have a list of list like this [ [apple, banana, red] , [orange, grape, blue] , [watermelon, tangerine, purple] ] then i am passing it to the template like return render(request, ...
    DkDk
    Feb 12, 2015 at 5:55 pm
    Feb 14, 2015 at 10:38 am
  • I have a django app that uses a temp table. In the real world this is no issue, as each invocation of the app runs in its own MySQL session so there cannot be any conflict with the temp tables. But ...
    Larry MartellLarry Martell
    Feb 4, 2015 at 12:38 am
    Feb 5, 2015 at 10:11 pm
  • Hello, I have manage to merge mine application to pythonanywhere.com. After I have done all the needed installing, uploading files, collecting static, making migrations to mine django application, I ...
    Petar PilipovicPetar Pilipovic
    Feb 28, 2015 at 6:02 am
    Mar 7, 2015 at 4:24 am
  • I have an issue with migrations. Suppose I declare (in my application, with name myapp) a field with a validators= declared. In such value (which is an iterable), I declare a function: class ...
    Luis MasuelliLuis Masuelli
    Feb 25, 2015 at 8:25 pm
    Feb 27, 2015 at 10:21 pm
  • Hi all, I was asked to design a new django app by a client whose needs are a little bit context-specific. The purpose of this app is to introduce computer-assisted technologies in a paper-based ...
    BlazorBlazor
    Feb 21, 2015 at 2:52 pm
    Feb 24, 2015 at 10:59 pm
  • Dear Django developers, in a Django project that was created pre-1.7, did not use South before, and was recently upgraded to Django 1.7 and is otherwise fine, I'm now trying to convert it to use ...
    Carsten FuchsCarsten Fuchs
    Feb 2, 2015 at 9:50 pm
    Feb 24, 2015 at 5:51 pm
  • Hi all, I am getting confused regarding the use of constants and would be keen to know how the rest of you handle constants in your models. Ofcourse I could handle it easily similar to how it has ...
    FranklineFrankline
    Feb 23, 2015 at 6:23 am
    Feb 23, 2015 at 11:29 am
  • Dear Django developers, can apps that use migrations depend on unmigrated apps? The documentation at <https://docs.djangoproject.com/en/1.7/topics/migrations/#dependencies explains how dependencies ...
    Carsten FuchsCarsten Fuchs
    Feb 4, 2015 at 5:26 pm
    Feb 20, 2015 at 2:36 pm
  • I am working on a problem that I am trying to figure out, not having much luck so far... I have a model, basic for this example: class Event(models.Model): name = models.Charfield(max_length=10) ...
    Richard BowdenRichard Bowden
    Feb 8, 2015 at 12:24 am
    Feb 10, 2015 at 3:45 am
  • Hello everybody, I'm working in a website using django. I would like that users could select and delete data introduced for them. I've found some information on the web and it seems that the ListView ...
    ElcaiaimarElcaiaimar
    Feb 2, 2015 at 12:29 pm
    Feb 2, 2015 at 9:18 pm
  • Hello, tonight is regular python/ruby meetup in Brno (Czech republic) about documentation. Last few months I’ve been working on project concerning localization of documents. I would like to know your ...
    Tomáš EhrlichTomáš Ehrlich
    Feb 26, 2015 at 10:10 am
    Feb 27, 2015 at 1:41 pm
  • hi . Guys i'm designing a django web site,which produce many files. if all these files are in ONE directory。i'm afraid that performance is a problem. even i can put many entries in stattic-dirs in ...
    老张老张
    Feb 4, 2015 at 1:49 pm
    Feb 26, 2015 at 11:34 am
  • Hi, I just studied and created first modelFormSet, and tried to use it in view. I have same code in template as is in django documentation. modelFormset shows data ok, but submit button is ...
    JoulumaaJoulumaa
    Feb 24, 2015 at 12:09 am
    Feb 24, 2015 at 11:53 am
  • I'm using geodjango and multiple databases, and experiencing a quite weird situation, I guess it's a kind of bug but not absolutely sure since I'm pretty new to Django. Here is how to reproduce the ...
    Luan NguyenLuan Nguyen
    Feb 18, 2015 at 4:29 pm
    Feb 22, 2015 at 4:17 am
  • Hi, I'm on part 5 of the polls tutorial (https://docs.djangoproject.com/en/1.7/intro/tutorial05/) and I am running Django 1.7 and Python 3.4 on Windows 8. Just want to make sure I'm on the right ...
    Gavin Patrick McCoyGavin Patrick McCoy
    Feb 21, 2015 at 10:41 am
    Feb 21, 2015 at 1:16 pm
  • First I created a CharField: ('currency', models.CharField(max_length=30)), In a later migration I changed it to a foreign key field: field=models.ForeignKey(to='web.Currency'), It worked on a local ...
    Martin KapfhammerMartin Kapfhammer
    Feb 20, 2015 at 4:57 pm
    Feb 21, 2015 at 9:25 am
  • I would like to transcode user uploaded videos using celery. I think first I should upload the video, and spawn a celery task for transcoding. Maybe something like this in the tasks.py ...
    Robin LeryRobin Lery
    Feb 20, 2015 at 1:04 pm
    Feb 20, 2015 at 3:05 pm
  • Hi there, there is something I obviously don't understand. According to django reference, the DetailView has to be provided a slug or pk. I do it in the url but django constantly doesn't recognize ...
    inoyon artlover KLANGRAUSCHinoyon artlover KLANGRAUSCH
    Feb 14, 2015 at 4:28 am
    Feb 20, 2015 at 2:30 am
  • Hi, I was just curious if anyone could give me tips on how to migrate an FK to M2M whist retaining the FK selected data? Long story short, I've played around with adding adding a M2M field with a ...
    Micky HulseMicky Hulse
    Feb 19, 2015 at 3:46 am
    Feb 19, 2015 at 6:31 pm
  • How to install django in redhat where i have python 2.6 and 2.7 and i need to install django in python 2.7 -- You received this message because you are subscribed to the Google Groups "Django users" ...
    SHINTO PETERSHINTO PETER
    Feb 19, 2015 at 1:28 pm
    Feb 19, 2015 at 5:04 pm
  • Hello! I'm a newbie in Django and Python, I'm trying to use the ImageField property. The problem is represented in the attachment images. The uploading of the image works fine, but when trying to ...
    Valéria PachecoValéria Pacheco
    Feb 19, 2015 at 4:03 pm
    Feb 19, 2015 at 4:59 pm
  • this is my template I do have this address http://127.0.0.1:8000/mes/show_table/ and show a table where the second colum is a link to somewhere else, the problem is when I click it lunch me to ...
    DkDk
    Feb 13, 2015 at 10:40 pm
    Feb 16, 2015 at 4:17 pm
  • Hi I am using Django to build a website. I saw some websites have www.ABC.com, support.ABC.com, and career.ABC.com. I wonder how this is achieved. Are these 3 different apps in 1 project, or 3 ...
    Chen XuChen Xu
    Feb 10, 2015 at 3:22 pm
    Feb 12, 2015 at 5:17 am
  • Hello. I am using the admin backend of a system, but not all users of this backend can access all system models. By default Django is the roles ADD, EDIT and DELETE, I wonder if anyone has customized ...
    Hangloser FirestarterHangloser Firestarter
    Feb 8, 2015 at 2:44 pm
    Feb 8, 2015 at 7:15 pm
  • This is driving me insane so any hints will be greatly appreciated ... Thanks Mike Here is the entire unedited test sequence plus failing code ... Python: 3.4 Django: 1.6.9 SQLite3: memory Creating ...
    Mike DewhirstMike Dewhirst
    Feb 25, 2015 at 4:33 am
    Feb 25, 2015 at 11:56 pm
  • Hello, I have a website and I need that users can introduce a csv file and save their data in a postgresql database. I can introduce a file and save it in media_dir and in the database (only the ...
    ElcaiaimarElcaiaimar
    Feb 24, 2015 at 11:53 pm
    Feb 25, 2015 at 2:36 am
  • Hello, I have a custom user model and I need to extend the user authentication during login and found this solution: http://bit.ly/1u705o9 It would work great for me and I ended up implementing this ...
    Tomáš SekaninaTomáš Sekanina
    Feb 17, 2015 at 8:20 pm
    Feb 22, 2015 at 7:02 pm
  • Hi all, I'm looking for recommended tools to monitor my Django server. I'm deploying to Heroku. Not sure what I should expect from the tool, the only thing I really need (the reason I started ...
    Guy TamirGuy Tamir
    Feb 22, 2015 at 1:17 pm
    Feb 22, 2015 at 6:40 pm
  • Hi I am implementing a feature while building a website using Django, basically, I want user to be able to update their usernames. All of a sudden, this question comes to me, if I have the userid ...
    Chen XuChen Xu
    Feb 19, 2015 at 10:48 pm
    Feb 19, 2015 at 11:16 pm
  • I have written a simple Django app (my first) that works with sqlite3 database. I want to change to postgres, but when I run the Django 1.7 migration utility with the command "python manage.py ...
    Tony Guil35Tony Guil35
    Feb 17, 2015 at 8:20 pm
    Feb 19, 2015 at 6:58 pm
  • I have an app in Django 1.7.4 that I would like to use purely for testing. $ ./manage.py startapp override The app contains its own model, view, and URL pattern (the model overrides a model in ...
    Andrew PinkhamAndrew Pinkham
    Feb 18, 2015 at 7:03 pm
    Feb 19, 2015 at 5:06 pm
  • Hi all, I have tons of objects referenced by ForeignKey in Django Admin module UI, and I would like to replace it with something more optimal, e.g. auto-fill input box or something. My model looks ...
    Jani KajalaJani Kajala
    Feb 16, 2015 at 11:03 pm
    Feb 18, 2015 at 1:58 pm
  • [{'key1':a , 'key2': b},{'key1':c , 'key2': d}] a,b c,d -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop ...
    AronivickiAronivicki
    Feb 15, 2015 at 2:20 pm
    Feb 15, 2015 at 3:32 pm
  • I am facing issues trying to get a count. Hope you can help me. In the template, if I insert {{ message.count }} not happens 'coz message is a string. If I insert {% load inbox %} {% inbox_count as ...
    Ronaldo BahiaRonaldo Bahia
    Feb 12, 2015 at 6:06 pm
    Feb 12, 2015 at 9:15 pm
  • My project access two databases, one of which is remote and read-only. When running tests, Django wants to create a test_ copy of that db on the remote host, but of course it lacks permission (I lack ...
    Scot HackerScot Hacker
    Feb 10, 2015 at 1:30 am
    Feb 11, 2015 at 9:07 pm
Group Navigation
period‹ prev | Feb 2015 | next ›
Group Overview
groupdjango-users @
categoriesdjango, python
discussions172
posts598
users202
websitedjangoproject.com

202 users for February 2015

Vijay Khemlani: 34 posts James Schneider: 26 posts aRkadeFR: 17 posts Dk: 14 posts Carsten Fuchs: 13 posts Carl Meyer: 11 posts Collin Anderson: 11 posts Mike Dewhirst: 11 posts Karim: 10 posts Ronaldo Bahia: 10 posts Andreas Kuhne: 9 posts Andrew Pinkham: 9 posts Elcaiaimar: 9 posts Erik Cederstrand: 9 posts Russell Keith-Magee: 9 posts Sum abiut: 9 posts Tom Evans: 9 posts João Marques: 8 posts Larry Martell: 8 posts Petar Pilipovic: 8 posts
show more