134 Topics

Member Avatar for
Member Avatar for TrustyTony

Because of [the course](https://www.edx.org/courses/BerkeleyX/CS169.1x/2012_Fall/about) I think to take to improve employment changes by SaaS, Ruby and Rails and basic agile techniques, I looked little the Ruby forum. Unfortunately it seemed in quite a sorry state some months old questions unanswered. Even there was a related article from one of them …

0
99
Member Avatar for shean1488

Hi everybody, Explain me please what I'm doing wrong. So I'm trying to create a database and store data, that I get from django forms. Everything looks fine, and when I manually check database it shows that it recieved a new row, however my browser gives me this message and …

Member Avatar for TrustyTony
0
4K
Member Avatar for lushys

Hello, I've found quite a few answers on this site. I was a network admin, however these days you have to wear multiple hats and as such I'm learning Python at work and my main source for answers when stuck is of course, the net. So here is my problem. …

Member Avatar for lushys
0
402
Member Avatar for adohertyd

I'm trying to build a meta search engine in Python, probably using Grok as a framework. Django seems a little more complicated than I need. My main problem is that I can't find any decent tutorials for Grok. It's own tutorial doesn't really explain anything. The way I intend it …

0
65
Member Avatar for 4evrmrepylrning

A while ago I created a PHP application that looks at xml files. I have now been tasked with converting this to Python or Django or Turbo gears(anything as long as it's Python something). I am new at Python and while I have played with Django a bit I have …

0
171
Member Avatar for lordluke_80

hi everyone. i'm tryng to use Reportlab to output an invoice on a simple Django app. it seems quite difficult to do simple things like this. here's my code: def print_pdf(fattura, soggetto, buffer=None): import time from reportlab.lib.enums import TA_LEFT, TA_CENTER, TA_RIGHT, TA_JUSTIFY from reportlab.lib.pagesizes import letter from reportlab.platypus import SimpleDocTemplate, …

0
250
Member Avatar for felix001

When trying to install django tagging Im getting the following error : [root@Fileserver django-tagging]# pwd /opt/django/djangoblog/django-tagging [root@Fileserver django-tagging]# python setup.py install Traceback (most recent call last): File "setup.py", line 49, in ? version_tuple = __import__('tagging').VERSION File "/opt/django/djangoblog/django-tagging/tagging/__init__.py", line 3, in ? from tagging.managers import ModelTaggedItemManager, TagDescriptor File "/opt/django/djangoblog/django-tagging/tagging/managers.py", line 5, …

Member Avatar for TrustyTony
0
187
Member Avatar for slyme

Hi All, I have inherited a web site which is really a bit beyond me ... there's no option though, I've got to figure it out, so ... The whole site uses Apache/Python/Django/Satchmo. I want to set up a sub-domain which uses a simple Apache/PHP set up. I'm guessing that …

Member Avatar for slyme
0
205
Member Avatar for HoneyBadger

I set up a MySQL databse following this tutorial: [URL="http://www.saltycrane.com/blog/2008/07/how-set-django-mysql-ubuntu-hardy/"]http://www.saltycrane.com/blog/2008/07/how-set-django-mysql-ubuntu-hardy/[/URL] Here is what I did: [CODE]$ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.0.51a-3ubuntu5.1 (Ubuntu) Type 'help;' or '\h' for help. Type …

Member Avatar for HoneyBadger
0
2K
Member Avatar for 4evrmrepylrning

I have been asked to look into getting a web framework up and running here at work. I come from a PHP background and have developed a few tools various people use around the office. I have recently become part of a small team of developers who only use Python, …

0
115
Member Avatar for SnehalBPatil

I am developing the Django application which runs the Matlab code and create some txt and png files on the server.when I run these below python command on server, it works fine but when I try to run from the server (it is coded in Viewspy).It shows file is updated.(from …

0
176
Member Avatar for Mxlfa

i have no idea what this means... and i really need help starting my new python web app project... [CODE]root@ubuntu:~# python solif/manage.py syncdb Traceback (most recent call last): File "solif/manage.py", line 14, in <module> execute_manager(settings) File "/usr/lib/pymodules/python2.7/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/usr/lib/pymodules/python2.7/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File …

Member Avatar for Lucaci Andrew
0
259
Member Avatar for subhra1234

hello,everyone,i am a beginner in python django framework,so is there any editor for django,like microsoft visual studio,where i get the facility like drag and drop buttons,labels,or table structure ..plz help

0
65
Member Avatar for jola.chmiel

Hi, I am just begining my adventure(if i may call it this way) with python used for web development. I found out that there are two well known frameworks: django and pylons. I read about them a lot, but I am not certain which one to pick. That's why I …

Member Avatar for sun_2588
0
109
Member Avatar for Ismatus3

Hello everybody I'm trying to use Python and Django to make my first website , i followed this tutorial : [URL="http://webpy.org/docs/0.3/tutorial"]http://webpy.org/docs/0.3/tutorial[/URL] , and i could finaly while the execution of the Python code nouveau_fichier.py which is : [CODE]#! /usr/bin/python # -*- coding: utf-8 -*- import web urls = ( '/(.*)', …

0
51
Member Avatar for lordluke_80

hi everyone. hi have a template with a form and many inputs that pass some data trough a POST request to a view, that process them and send the result to another template. in the final template, if i use the browser back button to jump to the first view, …

0
202
Member Avatar for sitaram123

Hello Friends... Basically i am a Freelance Web Developer with extensive experience in design & development using Ruby on Rails, Python, PHP, Flex, Django and Drupal including complex Python ,Django/Postgress bug Rectification, Android and i OS development Also I am doing experiments in HTML5, Scala,Haskell and Erlang. Recently Twitter had …

Member Avatar for Onlineshade
0
197
Member Avatar for ste_a47

[CODE]class InspectionGroup(models.Model): group = models.CharField(max_length=50) class InspectionItem(models.Model): group = models.ForeignKey(InspectionGroup) item = models.CharField(max_length=50) class InspectionQuestion(models.Model): item = models.ForeignKey(InspectionItem) question = models.CharField(max_length=200) question_pass = models.BooleanField() class InspectionResult(models.Model): question = models.ForeignKey(InspectionQuestion) vehicle = models.ForeignKey(Vehicle) result = models.BooleanField() submitted_by = models.ForeignKey(User, editable=False) date_time_submitted = models.DateTimeField(default=datetime.today, editable=False)[/CODE] From the above structure, I'd like to …

Member Avatar for ste_a47
0
190
Member Avatar for theharshest

I am new to Django. When I tried creating a template, I got the following error. Please help. [CODE]>>> from django.template import Template, Context >>> t = Template("The name is {{name}}") Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> t = Template("The name is {{name}}") File "C:\Python27\lib\site-packages\django\template\base.py", …

Member Avatar for Enalicho
0
187
Member Avatar for de1337ed

Just two questions that are completely unrelated: 1. (Tough to Explain), But how do I create relational drop down menus? Let's use careers as an example. If someone were a computer engineer. I want them to chose engineer in the first drop down. Then then the second drop down will …

0
54
Member Avatar for theharshest

Hi Friends, I want to learn web application development. I have good experience in C programming language and no other language. Can you please suggest me where to start with? I have already dived into Python a bit, so I searched the net for some good framework and got Django. …

Member Avatar for griswolf
0
310
Member Avatar for yuvalm2

I am about to begin working on a program serving simultanuously a handfull of non-technical clients. I am still trying to select my user interface, and would like your suggestions, given that my main program would be written mainly in Python. I would suppose that most of the actions requested …

Member Avatar for woooee
0
227
Member Avatar for hszforu

I started learning python3 some 3-4 days ago.My ultimate aim to learn this language is to design web apps(eg apps to automate account creations for seo etc.) For this i guess i will have to use django or turbogears for this, but now i came to know that django or …

Member Avatar for hszforu
0
194
Member Avatar for Schol-R-LEA

I [url=http://www.daniweb.com/software-development/python/threads/364777]recently discussed[/url] some problems I had had in getting PyODBC working with Django and Django-pyodbc, but at the time it was decided to switch to an ASP.NET solution instead. For various reasons, we are trying once again to set up Django and PyODBC, and while we've had some success, …

Member Avatar for Schol-R-LEA
0
696
Member Avatar for R3ap3R

I believe the Python thread is the most appropriate place to post a Django question :P Hi there guys and girls! I am currently busy (and learning) Django. It really is a solid platform to work on compared to PHP. Ok let me get to the point :P I am …

Member Avatar for Pupo
0
170
Member Avatar for Schol-R-LEA

I am making a last-ditch effort to get Django 1.3 configured to talk to SQL Server (both running on the same Windows 7 system), before I have to make a final decision whether to move on to ASP.NET instead. I am using PyODBC (I had tried PyMSSQL but was recommended …

Member Avatar for Schol-R-LEA
0
861
Member Avatar for kuchi

We are developing application in python web development (No frameworks like Django) using just cgi module. In thing we have to use session management to transfer the variables between pages. I tried in google but no useful matter I found, if you know which module is to manage the variables …

Member Avatar for kuchi
0
106
Member Avatar for nagtan3

Hi, I am developing a website, I Have to get the google map on the basis of a particular location which i would get from an object of the database. This ill use it from the template language. For example: [B]person.address[/B] is what ill refer and i should get the …

Member Avatar for TrustyTony
0
167
Member Avatar for DimaYasny

Hi All, I am trying to start writing a wiki-ish CMS I've been contemplating for a while now. the content will include pics, html content, and should be stored in a database (the current pick is postgres) A few questions for the more experienced folk 'round here: 1. how do …

0
155
Member Avatar for andrewtrench

I have a foreign key linking two models. One is called ZumaDirectors, the other ZumaConsolidated. For some reason I cannot access fields on ZumaConsolidated from ZumaDirectors using foreign key. I can do this without a problem on ZumaDirectors with a foreign key linked to another table. I want to be …

Member Avatar for Kruptein
0
160
Member Avatar for ChaosKnight11

Hi, I have been wondering about implementing this for quite a while now. I don't know if this possible or in what language it can be done, so I came to this board hoping to get some answers. I have a Django/Python web application and have the need to list …

Member Avatar for Momerath
0
96
Member Avatar for benqb

In my phpcode [CODE=php] <?php $out = array(); $execute='./test.py'; $name = "?key=1234&path=host"; exec ("$execute $name", $out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] In test.py file i want to get the value corresponding to path that is host In test.py [CODE] #!c:/Python27/python.exe -u import django import cgi, …

0
64
Member Avatar for saransh60

hello friends i have just completed the python reading from book called "how to think like a computer scientist Python" ..Now i want to dive for Django framework for web development is that book(how to think....)is enough or should i polish my python skills first.....Please note that i have no …

Member Avatar for ssharish2005
0
130
Member Avatar for oooooops

I have been trying to learn Django (and Python). I have a form that can have up to [I]n[/I] elements. Each of those elements has 3 parts to it (a TextField, a TagField and a Checkbox). The form init looks like this [CODE] def __init__(self, *args, **kwargs): notesAndTags = kwargs.pop('notesAndTags') …

Member Avatar for richieking
0
468
Member Avatar for Tommymac501

I have an app that allows my users to pop up a file of any size and look at the top 10 (or more) records, or, offset to any starting point and view a batch of records. I would like to put this app in some sort of Web page, …

0
56
Member Avatar for ChaosKnight11

Hi, I normally only use Linux (Ubuntu) for software development, but I want to test an app on Windows with IE before I make it live. I have Windows 7 Ultimate installed, as well as Python 2.7 and Django 1.2.3 I appended C:\Python27\Scripts to my PATH, and .py to PATHEXT. …

Member Avatar for richieking
0
164
Member Avatar for Democles

Hello, I am more experienced with Java and trying to write a script for a server I have. I need to learn Python anyway, so I am attempting to do it in python. I am not completely lost, but just puzzled why it would do this. Here is the code …

Member Avatar for Democles
0
276
Member Avatar for ChaosKnight11

Hi, I have started a new app in my current Django project and I want to make the new app use its own database. I have found this solution on the web: [URL="http://www.eflorenzano.com/blog/post/easy-multi-database-support-django/"]Django Multi-Database support[/URL] but it seems more like a hack than a supported solution. Do you think this …

0
88
Member Avatar for king_koder

The [URL="http://www.python.org/"]official Python website[/URL] is now conducting a poll to find what Python package users want most to get ported to Python 3. Top on the list is django followed by wxPython and numpy. See the full results at- [url]http://www.python.org/3kpoll[/url]. Also, do vote(or nominate) the Python package that you want …

Member Avatar for richieking
1
95
Member Avatar for chalasesha

hi all, i just doing Django..tried the first example in Django book...i encountered problem at admin page. it says that admin is not defined. i followed each step in tutorial and i am able to run django server also. pls help me to solve it. i am adding error output …

Member Avatar for sureronald
0
955
Member Avatar for king_koder

Hi, I started learning Python 3 around a month ago and I think, I am beginning to get the hang of it. However, I just recently realized that most of the modules I would like to use(wxPython, django,etc) aren't yet ported to Python. SO now, I'm really confused whether I …

Member Avatar for ultimatebuster
0
678
Member Avatar for king_koder

Since Django is not yet compatible with Python 3, what are other good web application development frameworks compatible with Python3?

0
85
Member Avatar for RaDeuX

Well that someone would be me. I finished three quarters of C, one quarter of Java, and one quarter of Python at my community college. I think it's about time that I start contributing something to a project, but I have no idea what I want to do. I tried …

0
74
Member Avatar for pratz

Hello, We are trying to use Django with couchdb, is this a good idea??? It is going to be a health software, so is it better to use couchdb. Also we are going to use wtforms. Will this make a good combination for a complete software. Any more suggestions will …

0
77
Member Avatar for tushartyagi

For my final year project, I plan to write a cloud server using Python. The client will be written by the other team member in Java. The first and foremost problem I have is make the necessary communication between the server and clients. For server to client talk, I thought …

0
62
Member Avatar for pratz

Hello, I am learning Django now, I was wondering how can I use Python Module in django as an app. Example - if I have an python network module, how can I use this module in Django as an network app? Is this possible? If possible then please let me …

0
138
Member Avatar for znake

Hi, I've just started learning python (and programming overall) and I would like to ask for a little help from you, guys. What fascinates me (and you may think it's weird) is programs which simulate human's action/behavior (bots), so I wanted to ask if anyone could show me some good …

0
170
Member Avatar for ste_a47

I'd like to implement a functionality in an app of mine, but I don't know how to go about it. What I want is this: I have a model class that uses imagekit to save its images, and I'd like to have the users being able to update the images …

0
86
Member Avatar for Namibnat

I am new to working with Django, and have found it really fun and interesting to develop with. But I have been trying to upload it to a hosted server and just not getting it to work. I have followed the instructions they give, but just not getting it to …

Member Avatar for Namibnat
0
223
Member Avatar for NightKev

I've been putting together a player list for a sort of risk-like webgame-type thing me and a friend are working on, and I'm having trouble getting some text to display on a webpage. Here's the code: [CODE=Python]from django.http import HttpResponse class players: def info(self, name, territory, color): self.name = name …

Member Avatar for tls-005
0
166

The End.