Search Discussions
-
I apologize if this is an old question, I did search SO/google for a good few hours. I have the following models. Publisher() name = CharField() Medium() name = CharField() Article() publisher = ...
Ram Jayaraman
Jun 18, 2016 at 11:08 am
Jun 18, 2016 at 5:35 pm -
Hi I'm trying to use authenticate like the documentation <https://docs.djangoproject.com/en/1.9/topics/auth/default/ shown at djangoproject, and when I try this authenticate returns None, although ...
Briel
Jun 17, 2016 at 10:57 pm
Jun 18, 2016 at 12:01 am -
I have two different queries on the same model that are in essence like this: queryset_1 = models.Plan.object.filter(name__startswith='a').annotate(group= Value('Group A', output_field=CharField())) ...
Cderwin
Jun 17, 2016 at 10:23 pm
Jun 17, 2016 at 11:02 pm -
Dear List, I'm a bit stuck on a problem. I googled a lot, but didn't find an answer. I have a "Loan" model and a "Payment" model. In the admin, I display the payments for each loan in inlines. I want ...
Olivier Dalang
Jun 17, 2016 at 9:17 pm
Jun 17, 2016 at 9:17 pm -
If we subclass ListView and try to override the get_content_data in 1.8.11 kwargs are not showing up, is this a bug ?? I have seen a bug already but I am not sure whether ...
Subramanyam
Jun 17, 2016 at 8:26 pm
Jun 17, 2016 at 8:26 pm -
-
*We are looking for Django specialist to work highly scalable adaptive learning platform.* About Company Learnix Edutech is a fast emerging education and technology enterprise founded by IIT ...
Prabhatiitbhu
Jun 17, 2016 at 7:06 pm
Jun 17, 2016 at 7:06 pm -
Hi, I want to create feeds activity using the models that I have. class Tender(models.Model): title = models.CharField(max_length=256) description = models.TextField() department = ...
Aamu Padi
Jun 17, 2016 at 5:39 pm
Jun 17, 2016 at 5:39 pm -
-
I'd like to ask for a little help. I'd like to show few forms with on page using formset_factory. Number of forms should be dependent on number of dictionaries set in inital parameter. But the result ...
Rafał Szymański
Jun 17, 2016 at 8:00 am
Jun 17, 2016 at 8:00 am -
hello i want to use geos for one project. i have install successful gdal and leaflet and djgeojson. i try to open manage.py and show me that error : point import sqlite3_create_function_v2 not find ...
Xristos Xristoou
Jun 16, 2016 at 8:53 pm
Jun 16, 2016 at 8:59 pm -
*Stripe Not Returning Token (test mode)* I'm trying out Stripe in test mode on a site I'm building, and for some reason Stripe won't return a token as it's supposed to. I can tell it's not returning ...
Chris Kavanagh
Jun 16, 2016 at 7:20 pm
Jun 18, 2016 at 3:43 pm -
Hey everyone, The bulk of my database consists of a tree of models (called Node), more than 200,000 of them, and I very regularly need to make large queries to get subtrees which I'm finding is ...
TheBeardedTemplar
Jun 16, 2016 at 3:21 pm
Jun 16, 2016 at 3:38 pm -
I have a website with a number of smaller internal apps. I want to break some of them out into reusable apps and I'm starting with a simple one. It has a single model and a single initial migration ...
Doug Donaldson
Jun 16, 2016 at 1:39 pm
Jun 16, 2016 at 1:39 pm -
I have a website with a number of smaller internal apps. I want to break some of them out into reusable apps and I'm starting with a simple one. It has a single model and a single initial migration ...
Doug Donaldson
Jun 16, 2016 at 11:06 am
Jun 16, 2016 at 3:16 pm -
I am using Django-Tenant-Schemas for my multi tenant app. Now, I have come to face a huge problem. I need to use @login-required for views. But how to have an admin (the creator & owner of the ...
Sayantan Ganguly
Jun 16, 2016 at 11:06 am
Jun 17, 2016 at 10:40 am -
If I used annotation for get rating an object, I had new field 'rating' (is number). How change values field rating through SQl for return: if rating = 0 return '0' if rating = 1 return '+1' if ...
Seti Volkylany
Jun 16, 2016 at 9:51 am
Jun 16, 2016 at 10:47 am -
Using Django 1.9.7. I have the following class: class AddView(LoginRequiredMixin, CreateView): template_name = "entry.html" model = Property form_class = AddPropertyForm success_url = "/buy/" ...
Lee Hinde
Jun 15, 2016 at 10:56 pm
Jun 16, 2016 at 6:39 pm -
Hello!! We have a big Django application in production since a few years. We want to refactor it, but before that, we want to study the real status about our code. We want to do static and dynamics ...
Raúl Quesada Pegalajar
Jun 15, 2016 at 8:48 pm
Jun 16, 2016 at 11:30 am -
Fred Stluka
Jun 15, 2016 at 8:02 pm
Jun 17, 2016 at 2:04 pm -
I want change image and delete this changed when i save this new. I write delete method like below but it is not work, what is wrong? models.py from django.db import models from ...
Dariusz Mysior
Jun 15, 2016 at 7:50 pm
Jun 15, 2016 at 7:50 pm -
Hi, I made a reusable-app following the this tutorial : https://docs.djangoproject.com/en/1.9/intro/reusable-apps/ The app works, but not the translation of the different messages that are in the ...
Anas Ghrab
Jun 15, 2016 at 7:22 pm
Jun 15, 2016 at 7:22 pm -
def base(request): j=Job.objects.all() a=Ab.objects.all() return render(request,'base.html',{'j':j, 'a':a}) def index(request): base(request) x=X.objects.all() return render(request, ...
Hossein
Jun 15, 2016 at 5:57 pm
Jun 16, 2016 at 11:17 am -
The model next: class Writter(models.Model): """ Model for writters of books """ id = models.UUIDField(primary_key=True, editable=False, default=uuid. uuid4) name = models.CharField( _('Name'), ...
Seti Volkylany
Jun 15, 2016 at 10:09 am
Jun 16, 2016 at 6:42 pm -
I have two models: Book and Reply *the model Book* class Book(models.Model): """ Model for books """ # other fields replies = GenericRelation(Reply, related_query_name='books') # managers objects = ...
Seti Volkylany
Jun 15, 2016 at 9:45 am
Jun 15, 2016 at 9:45 am -
Hello, I have to move data from database server to new database server. Schema is same for both. I want to write a cron job which would keep replicating data from old server to newer one. In future I ...
Sushovan majumdar
Jun 14, 2016 at 3:30 pm
Jun 15, 2016 at 12:41 am -
Hi, How can I convert this SQL query into a Django query? SELECT DATE(JoinTime) FROM table Please keep in mind that JoinTime is in datetime format and I want it to be date. Thanks -- You received ...
Galil
Jun 14, 2016 at 1:52 pm
Jun 15, 2016 at 12:17 pm -
I have extended the user model to another table I called UserInfo, and I added it to the add user admin page. So now when I go to add a user I see this on the page: User Info User Info: #1 If I edit ...
Larry Martell
Jun 13, 2016 at 8:13 pm
Jun 14, 2016 at 3:33 pm -
I've got an odd bug in my system, and while I'm not 100% convinced it is a Django bug, I don't think it is due to me either so thought I'd ask here for some clarification. Essentially if you upload a ...
Nick Sarbicki
Jun 13, 2016 at 2:52 pm
Jun 13, 2016 at 3:56 pm -
best tutorial I've found so far: Django Girls <http://tutorial.djangogirls.org/en/ . Includes using git and deployment -- You received this message because you are subscribed to the Google Groups ...
Michael Savarese
Jun 12, 2016 at 6:25 pm
Jun 12, 2016 at 6:25 pm -
Dear All, Could anyone help to share the point for absolute beginner guide. I have already know a little bit about html, and having strong background in vb6. Thanks for any kind help. Best Regards ...
Mc. Holid
Jun 11, 2016 at 12:36 pm
Jun 17, 2016 at 12:32 am -
I am using django 1.8.4 and i have following model class Book(models.Model): title = models.CharField(max_length=100) class Article(models.Model): title = models.CharField(max_length=100) class ...
Sunit
Jun 10, 2016 at 12:20 pm
Jun 10, 2016 at 12:20 pm -
I have three different models for my app. All are working as I expected. class Tender(models.Model): title = models.CharField(max_length=256) description = models.TextField() department = ...
Aamu Padi
Jun 10, 2016 at 11:42 am
Jun 10, 2016 at 4:17 pm -
how to forbidden refresh page in django during loading after press submit button in form and only allow close window -- You received this message because you are subscribed to the Google Groups ...
meInvent bbird
Jun 10, 2016 at 2:54 am
Jun 10, 2016 at 2:54 am -
which regex are for filtering malicious input in django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop ...
meInvent bbird
Jun 10, 2016 at 2:39 am
Jun 10, 2016 at 2:39 am -
how to forbidden mouse click and keyboard typing when loading page after press submit button in django web? -- You received this message because you are subscribed to the Google Groups "Django users" ...
meInvent bbird
Jun 10, 2016 at 1:36 am
Jun 10, 2016 at 8:56 am -
Hi ! Every 6-12 months it happens that all my views start failing with this error: TypeError: weak object has gone away There are some caches here and there and it seems to me that there must be a ...
Martín Massera
Jun 9, 2016 at 11:35 pm
Jun 9, 2016 at 11:35 pm -
Hello, I'm enjoying the tutorial and now I'm stuck on the second page (writing your first Django app part 2), shortly after this paragraph. 'It’s important to add __str__() ...
Neil Hunt
Jun 9, 2016 at 9:00 pm
Jun 10, 2016 at 12:34 pm -
I was going through https://docs.djangoproject.com/en/1.9/topics/db/managers/#custom-managers-and-model-inheritance regarding custom managers and I decided to do some tests. Here are my models: from ...
Dheerendra Rathor
Jun 9, 2016 at 8:39 pm
Jun 9, 2016 at 8:39 pm -
I'm try to use jquery and python to "crop" a image in Django. I want to work in admin but also in front-end. The user selects a box/rectangle, for the portion of the image that he want to crop ...
Sevenrrainbow
Jun 9, 2016 at 8:35 pm
Jun 12, 2016 at 11:31 pm -
I'm exploring generic class-based views these days, and was wondering about something. When I use DetailView, the object gets passed to the template, where I have to print all of the properties one ...
Ankush Thakur
Jun 9, 2016 at 5:33 pm
Jun 9, 2016 at 5:33 pm -
Help please!! I need do like this in django 1.9 template tag {% if model1.obj == model2.obj %} print ok {% else %} print not OK {% endif %} but don't work. someone help me?? -- You received this ...
Ing. Jaime Sanchez
Jun 9, 2016 at 4:33 pm
Jun 9, 2016 at 5:03 pm -
I have a view that allows me to download, but I can't download from Django admin. This is my view that allows me to download. How do I put similar logic in the admin? def script_download(request, ...
McKinley
Jun 9, 2016 at 4:07 pm
Jun 9, 2016 at 6:25 pm -
Hi ! I'm using several modules that rely on jQuery, and have some own needs as well : - admin I also see that there are tons of different variables that reference jQuery, defined by theses modules, ...
Olivier Dalang
Jun 9, 2016 at 3:06 pm
Jun 10, 2016 at 1:32 pm -
Hello, I am using two databses for my Django app and one of them is an existing MySQL database: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, ...
Galil
Jun 9, 2016 at 12:13 pm
Jun 10, 2016 at 11:07 am -
Hi! I am attempting to create my own database connector for Django for an external PostgreSQL DB that I have running. For this application, I issue the SQL queries and get responses over a REST API, ...
Brandon
Jun 9, 2016 at 11:59 am
Jun 9, 2016 at 9:30 pm -
I am planning design an encrypted time-limited API on both Client and Server sides, the server side is written in Django, the client side is a GUI program which call the API by import requests c = ...
Philip Lee
Jun 9, 2016 at 11:59 am
Jun 9, 2016 at 3:03 pm -
I have a view that calculates some quick statistics: def index(request): context = { 'topics_unanswered': Topic.on_site.filter(topic_type=1, date_published__isnull=False, reply__isnull=True).count(), ...
Jorrit787
Jun 9, 2016 at 11:43 am
Jun 12, 2016 at 5:17 pm -
<http://chat.stackoverflow.com/transcript/message/31046932#31046932 I want to use Django+authorize.net, I have tried merchant but could not figure it out, is there any tutorial/information I can use? ...
Arshpreet Singh
Jun 9, 2016 at 5:58 am
Jun 9, 2016 at 5:58 am -
Hey all, I'll try to be as clear as I can with this problem - basically I am implementing soft-delete functionality in order to allow an 'undo' function that extends quite far into the past. My plan ...
TheBeardedTemplar
Jun 8, 2016 at 11:48 pm
Jun 8, 2016 at 11:48 pm
Group Overview
group | django-users |
categories | django, python |
discussions | 10,335 |
posts | 37,116 |
users | 5,965 |
website | djangoproject.com |
Top users
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)