Search Discussions

209 discussions - 823 posts

  • Dear List, I'm trying to run a simple select on a very large Oracle table (1500 million records). I create a standard django model: ------------------ class Marker(models.Model): marker_id = ...
    Joris BenschopJoris Benschop
    Jan 22, 2015 at 3:32 pm
    Jan 23, 2015 at 5:56 pm
  • Hi, i am trying to update data in a row from an existing database but i keep getting this error. update_form() takes exactly 2 arguments (1 given) can someone advise what i am missing here. here are ...
    Sum abiutSum abiut
    Jan 9, 2015 at 2:49 am
    Jan 13, 2015 at 1:54 am
  • Anyone have recommendations for hosting services that can do Django, Node.js, Postgreqsl, python3, as well as PHP/MySQL for legacy stuff? I’m also looking to have IMAP email. This would be for ...
    Bobby MozumderBobby Mozumder
    Jan 6, 2015 at 11:30 am
    Jan 8, 2015 at 3:34 am
  • Hello. When I use Django via my smart phone Android and iOS. The error sometimes occurred. Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for failure: CSRF token missing ...
    Sugita ShinsukeSugita Shinsuke
    Jan 6, 2015 at 9:09 am
    Jan 31, 2015 at 12:48 am
  • Hello, I am new to Django and I have run into an issue with views.py. I understand that there is a function behind each view. For a view that I am currently writing, it accepts a file upload from ...
    Cheng GuoCheng Guo
    Jan 19, 2015 at 7:28 am
    Jan 20, 2015 at 2:26 am
  • Hello, In my model I have: def __str__(self): return _(u'#{0}, {1}, {2}').format( self.pk, self.lead and self.lead.customer_name or None, self.lead and self.lead.customer_phone or None ) Where ...
    Michael HMichael H
    Jan 17, 2015 at 2:12 pm
    Jan 18, 2015 at 4:18 am
  • Hello I'm creating a Django frontend for a legacy school system. The legacy system has users, but usernames are only unique together with a school: class LegacyUser(models.Model): school = ...
    Erik CederstrandErik Cederstrand
    Jan 19, 2015 at 8:55 pm
    Jan 20, 2015 at 11:24 pm
  • All works fine before making this change. I added new data named "photo" in models.py and admin.py When I bring up the web page, I get this: ProgrammingError at /admin/recipe/dish/ column ...
    Dennis brelandDennis breland
    Jan 12, 2015 at 6:16 pm
    Jan 12, 2015 at 9:17 pm
  • Hi, I am trying to send an email to several users once a form is submit. I have done the view.py to update the database once the form is submitted and is working fine. what i want to accomplish when ...
    Sum abiutSum abiut
    Jan 20, 2015 at 3:02 am
    Feb 2, 2015 at 5:51 am
  • Hi, i am getting an error as below when iterating throw rows. Basically what i want to do is iterate through number of rows. When on the last row i want to compare a column then send out an email ...
    Sum abiutSum abiut
    Jan 26, 2015 at 10:49 pm
    Jan 28, 2015 at 12:40 am
  • Hello, I'm coming back to Django after working with 1.4/1.5. Within a custom template for auth.views.password_reset, I'd like to access the request data using django.core.context_processors.request ...
    Mark RogaskiMark Rogaski
    Jan 20, 2015 at 12:06 pm
    Jan 22, 2015 at 6:12 am
  • Hi, I am trying to two column and display some result if two conditions are meet but i am getting this error: The view eLeave.views.FMKD1_leave_to_authorize didn't return an HttpResponse object. It ...
    Sum abiutSum abiut
    Jan 15, 2015 at 11:40 pm
    Jan 19, 2015 at 10:51 pm
  • I need to include two different contact forms in my app. One a general contact form and another Report / Feedback form that pre-fills some data depending on which site it was called from. So I hit ...
    Tobias DacoirTobias Dacoir
    Jan 19, 2015 at 10:13 am
    Jan 19, 2015 at 12:33 pm
  • Hi, If user = auth.authenticate(username,password) results None, I would like to create new user and login it. But I cannot find a way to determine easily if it is was None because of 1) it was not ...
    Jan 16, 2015 at 4:05 pm
    Jan 16, 2015 at 5:56 pm
  • For a long time I have been battling with the following problem: how to deploy Django in an easy, maintainable, secure and reliable way for small Django applications. The applications I write are ...
    Anssi KääriäinenAnssi Kääriäinen
    Jan 8, 2015 at 10:45 am
    Jan 12, 2015 at 5:21 pm
  • Hello again, I'm to the point in my django development that I am beginning to use realistic amounts of test data. I'm using postgresql as the database server, with PyCharm as my IDE, everything in a ...
    Richard BrockieRichard Brockie
    Jan 5, 2015 at 4:42 am
    Jan 8, 2015 at 5:57 pm
  • Last year I gave a conference talk at Djangocon EU where I introduced React.js to the community. Since then, I have been getting some emails asking for some sample code. I just published a sample ...
    Ustun OzgurUstun Ozgur
    Jan 24, 2015 at 1:14 pm
    Jan 27, 2015 at 12:06 pm
  • Hi, I am working on django ap in which I have two apps in a single project but while using inline option, I get the error NameError: name 'ChoiceInline' is not defined I have searched this error and ...
    Sanjeet kaurSanjeet kaur
    Jan 14, 2015 at 1:06 pm
    Jan 15, 2015 at 12:35 pm
  • Hello All, I'm rather new to django and also web and database stuff and so I might not use the correct term. i need to write an application which is a log book for experiments. The purpose is to ...
    Lorenzo BernardiLorenzo Bernardi
    Jan 5, 2015 at 3:42 pm
    Jan 9, 2015 at 3:39 pm
  • Hi, can someone please help. i am trying to pull data from two table in django and display the results. can someone please point me to the right direction. kind regards, Sum A -- You received this ...
    Sum abiutSum abiut
    Jan 8, 2015 at 9:16 pm
    Jan 9, 2015 at 4:22 am
  • I want to make a signup page just like ...
    Jan 7, 2015 at 5:27 pm
    Jan 8, 2015 at 11:39 am
  • I'm using django-allauth and I receive a signal when a user logs in. Now I want to store each day the user logs in. However, when the user does not logout he can still log in the next day thanks to ...
    Tobias DacoirTobias Dacoir
    Jan 23, 2015 at 9:43 am
    Jan 30, 2015 at 3:34 pm
  • My project need an admin for staff and a normal website for normal user. Staff can only login to staffsite and normal user can only login to website. Staff will login to admin to do some management ...
    Jan 28, 2015 at 12:11 pm
    Jan 29, 2015 at 12:38 am
  • Hello, last few weeks I’ve been thinking about implementing smoke tests into my deployment process. Last week I wrote simple test runner (https://github.com/djentlemen/django-smoked ...
    Tomáš EhrlichTomáš Ehrlich
    Jan 24, 2015 at 3:21 pm
    Jan 26, 2015 at 6:05 pm
  • First let me say that I haven't done a lot of stuff with either Python or Django, but I think I understand most of the basics. I am trying to get an access token back from the OAuth2 Web Application ...
    Henry VersemannHenry Versemann
    Jan 15, 2015 at 4:51 pm
    Jan 22, 2015 at 3:36 am
  • I'm using django-contact-form which allows me to subclass it and add custom fields to it. However all my added fields will appear at the bottom. I even tried overwriting the original fields but still ...
    Tobias DacoirTobias Dacoir
    Jan 20, 2015 at 9:26 pm
    Jan 21, 2015 at 8:00 pm
  • Is this a bug or did I miss something in the release notes? ​Moving from 1.6.4 to 1.7.3 the listing in the Admin UI is not resolving a related field now. There are not any model changes involved ...
    Timothy W. CookTimothy W. Cook
    Jan 16, 2015 at 7:56 pm
    Jan 18, 2015 at 7:49 pm
  • Hi group, I'd like to get some guidance on how to go about thinking about the structure of the web app I'm trying to build. From a high level perspective, I'm trying to make a web app that ...
    Shazwi SuwandiShazwi Suwandi
    Jan 2, 2015 at 12:36 pm
    Jan 15, 2015 at 12:53 pm
  • Hi I use this settings to send email: settings.py EMAIL_HOST = "mail.xxxxxx.ir" EMAIL_PORT = "25" EMAIL_HOST_USER = "<span class="m_body_email_addr" title="d7986b2a2a42286c8f51b20cb716f9c4" ...
    Hossein RashnooHossein Rashnoo
    Jan 8, 2015 at 8:08 am
    Jan 10, 2015 at 5:15 am
  • Hi there. I'd like to run background application. I coded this code. I wrote the urls.py and I added in the view. def run_junix(request): cmd = "cd app_path;nohup python background_app.py &" import ...
    Sugita ShinsukeSugita Shinsuke
    Jan 8, 2015 at 10:10 am
    Jan 9, 2015 at 6:40 am
  • I currently using Python 2.7.7 and Django 1.7 as I build a new application. I need to retrieve an entire User object from the authentication User Model, but when I do the following: userobj = ...
    Henry VersemannHenry Versemann
    Jan 6, 2015 at 5:48 pm
    Jan 6, 2015 at 9:06 pm
  • Does anyone have a recommendation for intermediate reading to understand Class Based Views? It seems most of the Django books were written when function based views were prevalent. I'm still having ...
    Brad RiceBrad Rice
    Jan 6, 2015 at 1:49 pm
    Jan 6, 2015 at 9:01 pm
  • Hi I have tried to use Django in Apache, but it doesn't work. My Django's version is 1.7.1 so I refered this page. https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ ...
    SungHo ParkSungHo Park
    Jan 3, 2015 at 5:00 pm
    Jan 6, 2015 at 5:47 am
  • Hi, I'm having a quite large Django project with dozens of apps and many reusable third-party libraries. All the custom management commands (being used with manage.py <command ) take a long time to ...
    Jan 28, 2015 at 12:11 pm
    Feb 1, 2015 at 9:30 am
  • I'm using django-badges in my project which can emit a signal when a user is awarded a badge. I was able to implemented a receiver function, however the output is the following: signals.py (from ...
    Tobias DacoirTobias Dacoir
    Jan 30, 2015 at 4:19 pm
    Jan 31, 2015 at 11:42 am
  • I just added django-badges to my project. Basically it can award Badges if Users fullfill certain requirements. For this, everytime I call user.save() django-badges receives the post_save() signal ...
    Tobias DacoirTobias Dacoir
    Jan 30, 2015 at 4:13 pm
    Jan 31, 2015 at 8:07 am
  • I want to reduce the database queries, imagine I have a case like this: def function1(): user = User.objects.get(id=1) user.name ="Myself" function2() function3(user) user.save() def function2() ...
    Tobias DacoirTobias Dacoir
    Jan 29, 2015 at 4:43 pm
    Jan 30, 2015 at 8:45 am
  • pretty much have a project built but now want to purchase a domain to link it live . Do you guys have any suggestions on who i should go with like godaddy.com. I also need to know is there a special ...
    Jan 24, 2015 at 7:16 am
    Jan 27, 2015 at 8:14 pm
  • Hi, My question seem dumb, but what is the purpose of repeating the admin.py in the apps? as i understand, if i want to have a good practice, i separate my application on mini apps so i can re-use ...
    Aliane AbdelouahabAliane Abdelouahab
    Jan 25, 2015 at 4:59 pm
    Jan 25, 2015 at 8:01 pm
  • Hi there. I use Django 1.6 version. The database of Django store the information of application. So, I know that if I change the hierarchy of the Django project folders, some trouble occurs. That is ...
    Sugita ShinsukeSugita Shinsuke
    Jan 17, 2015 at 9:38 am
    Jan 23, 2015 at 3:55 pm
  • I use this code to send a request: function checkuser() { $.ajax({ url: '', //type: 'POST', data: "{'username': 'aa', 'password' : 'bb'}", context: this, ...
    Hossein RashnooHossein Rashnoo
    Jan 17, 2015 at 5:46 am
    Jan 21, 2015 at 5:47 pm
  • hi, this is the first time i tried and added an ImageField to my model. then i did makemigrations ./manage.py makemigrations but it said that i should do: pip install pillow (the django documentation ...
    Jan 21, 2015 at 1:44 pm
    Jan 21, 2015 at 5:08 pm
  • I have created user earlier in code with email address and password. Created users work fine. Now in later phase I asked more information and would like to fill in first_name and last_name. Code ...
    Jan 19, 2015 at 9:22 am
    Jan 20, 2015 at 12:06 pm
  • I have extendted the *UserCreationForm* with email and other fields, so that I could authenticate a user with both its username and email. forms.py: views.py: def auth_view(request): html: <form ...
    Kakar NyoriKakar Nyori
    Jan 15, 2015 at 12:30 pm
    Jan 20, 2015 at 6:33 am
  • Ladies and gentleman, I am new to Django and would really love to have a solution for this: My goal is to share generated settings between my views/models and templates, without repeating myself ...
    Jan 18, 2015 at 10:26 am
    Jan 19, 2015 at 5:28 pm
  • Hello All, I am trying to use django_crontab to run repetitive task. I want to insert records to database on a particular time. Also, I am in process of learning django hence I m trying to reach ...
    Sarfaraz ahmedSarfaraz ahmed
    Jan 18, 2015 at 9:54 pm
    Jan 19, 2015 at 2:33 pm
  • I have been trying for two days to install django with Python 3.4 operating in windows 7. Everything I try according to your instructions, fails. The command "import django" seems to work but the ...
    Lisa JenningsLisa Jennings
    Jan 18, 2015 at 2:24 am
    Jan 19, 2015 at 5:07 am
  • Hi, I am receiving the following error when I try to load my domain. The domain/hosting and settings.py and other files are all set up "It worked! Congratulations on your first Django-powered page ...
    Nicky setiaNicky setia
    Jan 16, 2015 at 10:54 am
    Jan 16, 2015 at 7:23 pm
  • I'm building a multi-tenant application with a data model that simplifies to: class Tenant(models.Model): name = models.CharField(max_length=50) class Widget(models.Model): owner = ...
    Matt CooperMatt Cooper
    Jan 13, 2015 at 12:04 pm
    Jan 14, 2015 at 3:21 pm
  • Hello everyone, One of the biggest features introduced in Django 1.7 are migrations. They can broadly be classified into 2 types - * schema migrations * data migrations Schema migrations deal with ...
    Abraham VarricattAbraham Varricatt
    Jan 14, 2015 at 7:03 am
    Jan 14, 2015 at 1:30 pm
Group Navigation
period‹ prev | Jan 2015 | next ›
Group Overview
groupdjango-users @
categoriesdjango, python

245 users for January 2015

Collin Anderson: 72 posts James Schneider: 49 posts Vijay Khemlani: 41 posts Tobias Dacoir: 37 posts Sum abiut: 31 posts Russell Keith-Magee: 12 posts Erik Cederstrand: 11 posts Stephen J. Butler: 11 posts Edgar Gabaldi: 10 posts Sugita Shinsuke: 10 posts Cheng Guo: 9 posts Jani Tiainen: 9 posts Joris Benschop: 9 posts Cal Leeming: 8 posts Hossein Rashnoo: 8 posts Richard Brockie: 8 posts Sarfaraz ahmed: 8 posts Th Granier: 7 posts Andreas Kuhne: 7 posts Joulumaa: 7 posts
show more