Search Discussions
-
Hi, As a Part of a very big project for a Company, we follow CSDL rules and we use Django Extensively. As a part of Django, we would like to Follow certain Normalisation Process for all the Passwords ...
Arun S
Apr 20, 2016 at 10:44 am
Apr 21, 2016 at 4:11 pm -
Hello Django Lovers. So I started on Django as project of mine. Seems like a great first framework to start on. At the moment I am stuck at this ...
Cronos Cto
Apr 26, 2016 at 7:32 am
May 2, 2016 at 1:12 am -
We have an existing django app with login, change password, and forgot password functionality. Then we have this other app built with the falcon framework. The client side of that is C++/Qt. That app ...
Larry Martell
Apr 25, 2016 at 8:37 pm
May 3, 2016 at 9:53 pm -
Hi All, I have been working with Python for just over 3 years now and have recently taken up django. I have completed both the polls app and have created an address book app by following a tutorial ...
Devrhoid Davis
Apr 2, 2016 at 10:37 pm
Apr 13, 2016 at 8:50 pm -
Hello all, So, I setup django in a virtualenv on my Ubuntu environment. I was reading the docs and thought I had things right for creating the 3 models I wanted with this application. I am using ...
Bruce Whealton
Apr 23, 2016 at 2:30 pm
May 3, 2016 at 7:49 am -
Hi, I am trying to delete an Account that delete in cascade others objects, but I have a post_delete in Car model that create a Log that have relation with this Account. The django apparently can not ...
Neto
Apr 23, 2016 at 7:05 pm
Apr 26, 2016 at 7:31 pm -
Is there a method to access request.body from a POST request in Django, without disabling 'django.middleware.csrf.CsrfViewMiddleware' ? CsrfViewMiddleware is causing: Exception Type ...
Mihai Corciu
Apr 20, 2016 at 8:28 pm
Apr 23, 2016 at 9:36 pm -
Hey, I have two issues I'm looking at solving at work, and I'm looking for a couple suggestions as to how other people have solved this. The two things are: * scale out their django installation to ...
Bliyanage
Apr 19, 2016 at 1:37 am
Apr 21, 2016 at 11:44 am -
Need to build a content type that accepts inputs from users. Those inputs must be stored in database alone with information who entered it (user's information like user name). Here is what I am ...
Said Akhmedbayev
Apr 29, 2016 at 4:51 am
May 2, 2016 at 6:58 pm -
I use FormView do login user, but I don't know how I should add his ID number to success url that when he will log in adres will be users/profile/id urls.py from users.views import RegisterView, ...
Dariusz Mysior
Apr 29, 2016 at 7:36 am
Apr 30, 2016 at 2:13 pm -
Hi All, I took over some projects written with Python 2.7 / Django 1.5.1. For unit tests the django-nose 1.2 (nose 1.3.3) is used and the project structure has its own tests directory which contains ...
Schaf Mh
Apr 15, 2016 at 10:53 am
Apr 15, 2016 at 3:19 pm -
7
Is it good idea to transition from MS Access to a webapp? And if so, is Django a good tool to do it?
Hi, I work for a very small company that I developed an application for, all using MS Access (it has back-end MS Access db - although this is planned to change to some more robust RDBMS, and a ...Patrik Mjartan
Apr 29, 2016 at 5:08 pm
May 1, 2016 at 1:29 pm -
I have tried to post a couple of things in the last few days with no results. My posts are never returned to me. So this is another test. Gary R -- You received this message because you are ...
Gary Roach
Apr 9, 2016 at 6:46 pm
Apr 13, 2016 at 6:56 am -
I want to dump and load data for two apps that I have. Using dumpdata works fine: python manage.py dumpdata members posts data.json or python manage.py dumpdata members posts --format=xml data.xml ...
Jorrit787
Apr 5, 2016 at 11:45 pm
Apr 9, 2016 at 1:50 pm -
Why redirects to foo.com/?next=/some/folder show up as foo.com/?next=%2Fsome%2Ffolder in browser? (i.e. how remove the %2F's? ) Is there a function I can call on URLs built in a view to avoid that? ...
Chris Seberino
Apr 23, 2016 at 6:47 pm
Apr 24, 2016 at 1:47 am -
I am trying to figure out how to loop over deep nested object in Django template. Here is my app's code models.py from django.db import models class Unit(models.Model): unit_number = ...
Said Akhmedbayev
Apr 26, 2016 at 12:33 pm
Apr 26, 2016 at 2:06 pm -
I'm following the tutorials on the Django website and now I'm stuck at tutorial 3. I'm working on the 'polls' application. The view.py file looks like so from django.http import HttpResponse from ...
Gu99roax
Apr 25, 2016 at 10:28 am
Apr 26, 2016 at 7:22 am -
Hello, I'm a beginner of Python. Recently,I want to learn something about django.But I meet a problem: I created a django project following the tutorial successfully , but when I ran the command ...
Nku Mtl
Apr 22, 2016 at 1:08 pm
Apr 25, 2016 at 11:12 pm -
I'm trying to delete but it's happening a strange error. models: class Account(models.Model): pass class Log(models.Model): account = models.ForeignKey('Account', on_delete=models.CASCADE) class ...
Neto
Apr 22, 2016 at 4:53 am
Apr 22, 2016 at 9:36 pm -
Fred Stluka
Apr 14, 2016 at 10:26 pm
Apr 21, 2016 at 11:54 am -
In my localhost is everything migrated, but in production have "Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them." How to know which models ...
Neto
Apr 7, 2016 at 4:19 pm
Apr 9, 2016 at 2:00 pm -
I need to build a server using nginx to run sentry, I needed a routine to install all the necessary packages, and configure the server. I am using Ubuntu, Nginx, Django. -- You received this message ...
Neto
Apr 5, 2016 at 6:54 pm
Apr 6, 2016 at 4:08 am -
Folks, I'm having exceptional trouble understanding annotate(), aggregate(), and their various combinations. I'm currently stuck here ...
Ankush Thakur
Apr 26, 2016 at 4:50 pm
Apr 28, 2016 at 4:51 pm -
Hello everyone, I am new to Django and quite new to Python as well. I came across this advice while I'm going through the Django tutorial here https://docs.djangoproject.com/en/1.9/intro/tutorial01/ ...
Mie Rex
Apr 28, 2016 at 1:27 am
Apr 28, 2016 at 5:07 am -
I just installed django 1.9.5. Now I have to type ./manage.py when I used to just type manage.py. How do I get rid of the need to type ./ osx el capitan -- You received this message because you are ...
Ken Foust
Apr 21, 2016 at 11:25 am
Apr 23, 2016 at 10:35 pm -
I try to learnind django. But can't understand how to write good django code. Can I write form in template or thear a good reson to use django form. Or must I use class based view or function is the ...
Григор Колев
Apr 19, 2016 at 12:02 pm
Apr 19, 2016 at 9:21 pm -
Hello, The following request works in my dev django project (sqlite) by not in production with postgres out ...
Tazo Gil
Apr 2, 2016 at 5:08 pm
Apr 4, 2016 at 5:37 pm -
I need to store and retrieve temperatures in a model. I'd like to store all the values in celsius. However some users prefer to view the value in fahrenheit. What is the recommended way to setup a ...
Vince
Apr 26, 2016 at 9:43 pm
May 5, 2016 at 8:40 am -
Hello, i was running a test on a website i dev with django and the system pointed out that "There are indications that attempts to protect against CSRF is in place. By using two different sessions ...
Stefano Tranquillini
Apr 28, 2016 at 3:24 pm
Apr 28, 2016 at 8:22 pm -
Hi, I have a middleware that checks whether the user is logged in. class Check(object): """ Check """ @staticmethod def process_request(request): def is_authenticated_user(): try ...
Neto
Apr 20, 2016 at 2:43 pm
Apr 20, 2016 at 7:14 pm -
Good Morning. First, excuse my English, I hope to have been understood my question. I'm new in this Django world. My question is more theoretical because I have little coded thing in the project. I ...
Eduardo Leones
Apr 15, 2016 at 11:48 am
Apr 15, 2016 at 9:12 pm -
I need to build a pretty complex / non-standard form and am looking for advice on the overall architecture. Consider the following models: class UserProfile(User): ... standard set of fields class ...
Scot Hacker
Apr 8, 2016 at 4:16 pm
Apr 12, 2016 at 3:16 pm -
can you tell me someone how to install geodjango step by step in windows10 ?i like to use pip if i can for that,it is easy pip. -- You received this message because you are subscribed to the Google ...
Xristos Xristoou
Apr 12, 2016 at 7:00 am
Apr 12, 2016 at 8:18 am -
class Client(UserenaBaseProfile): def __str__(self): return self.name user = models.OneToOneField(User, unique=True, verbose_name=_('Django Login'), related_name='client') name = ...
Andrew Chiw
Apr 10, 2016 at 12:12 pm
Apr 11, 2016 at 9:24 pm -
Hi I am wondering how the admin can communicate to his users...Is there a way for example to create email templates and then email them to user? THANKS -- You received this message because you are ...
Luca Brandi
Apr 10, 2016 at 5:47 pm
Apr 11, 2016 at 5:32 pm -
hello i want some toturial or examble to easy way ping and show one place in google maps/bing maps with lat/log and can be dynamic because i have more places to show in my web site ? -- You received ...
Xristos Xristoou
Apr 9, 2016 at 7:50 pm
Apr 10, 2016 at 3:56 pm -
i have this code in my template: {% for action in actions %} <li <a href="{% url {{ action.name}} %}" {{ action.name_short }}</a </li {% endfor %} but that's error: Exception Type ...
颜刚
Apr 3, 2016 at 4:10 pm
Apr 4, 2016 at 1:36 pm -
Hi santosh,i installed oracle VM virtual box and linux mint, can send the installation steps for django and virtualenv setup. -- You received this message because you are subscribed to the Google ...
Srinivas tummalapalli
Apr 7, 2016 at 3:28 pm
May 13, 2016 at 8:08 pm -
Hi, I am creating a tutor-student forum using Django. For which I need to have two different user profiles, one for students and one for teachers. However, I am unsure about the best way to do this ...
Sudhanshu Shekhar
Apr 7, 2016 at 3:42 am
May 5, 2016 at 9:47 am -
Hi All, Your input is very much valuable ,kindly help me out regarding this. I need to have a CSDL compliance for following for a project using django framwork :- But my main concern here is how does ...
Samarjeet Singh
Apr 27, 2016 at 10:22 am
May 3, 2016 at 7:07 am -
I mean the factory.Faker('*name*', locale='en'), and I found slug, name, first_name, last_name, time, date, url, but I am don`t found all list in Web and factoryboy`s documentation. May anyone known? ...
Seti Volkylany
Apr 30, 2016 at 8:11 am
Apr 30, 2016 at 11:33 am -
Let's say, for example, I have a reusable form. An authenticated user fills out this form and saves it. How then, I can show to the user a page with the complete form? Sorry, for not being able to ...
Said Akhmedbayev
Apr 27, 2016 at 5:13 pm
Apr 28, 2016 at 5:04 am -
Hallöchen! With Django 1.9.5 (rest are original Ubuntu 16.04 packages) and Python 3.5.1, "manage.py test myapp" tries to run the *models* package of myapp as a test module ...
Torsten Bronger
Apr 26, 2016 at 10:04 pm
Apr 27, 2016 at 4:46 pm -
Where is the problem in this code. class A (View): def __init__(self): self.data = ['1', '2'] def get(self, request): pass class B (View, A): def get(self, request): A.__init__(self) -- You received ...
Григор Колев
Apr 27, 2016 at 2:18 pm
Apr 27, 2016 at 2:36 pm -
In part 2 of the django tutorial; 'writing your fist app', the command python manage.py makemigrations polls gives errors. I get "ImportError: No module named polls.apps". When going back to part 1, ...
Gu99roax
Apr 24, 2016 at 2:13 pm
Apr 25, 2016 at 10:35 am -
Hi! I'm facing an issue reversing a dotted path with django 1.9.4. Here are more details. I pass a dotted path to the django template tag "url": "{% url 'my.app.view.func' arg %}" And the function ...
François Magimel
Apr 23, 2016 at 5:46 pm
Apr 24, 2016 at 2:06 pm -
Hi I am looking for help with writing tests for custom Django admin actions; both with and without intermediate pages (ones containing forms). I confess (hangs head in shame) that I have written lots ...
Derek
Apr 21, 2016 at 1:45 pm
Apr 24, 2016 at 7:35 am -
Debian Stretch system amd64 system A couple of weeks ago I updated my system and all of my desktop icons start looking as shown in attachment. Anyone have an idea what could cause this. I have looked ...
Gary Roach
Apr 22, 2016 at 2:36 am
Apr 22, 2016 at 7:04 am -
HI All, I have some unit tests (using django-nose). As one was failing I wanted to debug the test (to see what's going on), but pyCharm does not stop at the breakpoint. I'm working with Python 2.7.6, ...
Schaf Mh
Apr 18, 2016 at 1:05 pm
Apr 19, 2016 at 12:33 am -
Can we say that views in MTV architecture is basically performing the tasks of both Models and Controller in an MVC architecture like Rails ? -- You received this message because you are subscribed ...
Mukul Chakravarty
Apr 16, 2016 at 2:08 pm
Apr 17, 2016 at 9:46 pm
Group Overview
group | django-users |
categories | django, python |
discussions | 159 |
posts | 510 |
users | 179 |
website | djangoproject.com |
179 users for April 2016
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)