Do you ever come across comments expressing anger or happiness when developing open-source software?

2020-09-08 Thread Nathan Cassee
publication. Kind regards and thanks in advance, Nicole Novielli, University of Bari http://collab.di.uniba.it/nicole/ Alexander Serebrenik, Eindhoven University of Technology https://www.win.tue.nl/~aserebre/ Nathan Cassee, Eindhoven University of Technology https://cassee.dev

ModelSelect2 field doesn't appear

2020-07-17 Thread Nathan Duy Le
Hi all! I've been losing hair trying to figure out why a ModelSelect2 field works on one ModelForm but not the other almost identical one. Please save me from going mad! In the browser's console, I'm getting the error message: jQuery.Deferred exception: $(...).select2 is not a function

Re: [django-channels] I want to use aioredis connection pool ,not create new connection in every AsyncWebsocketConsumer.connect .Where can I put the code.

2020-02-04 Thread Nathan Jones
Hi, Did you ever work out how to do this? The only way I could work out how to use a shared pool was to go back to the regular sync `redis` library and use sync_to_async, for example `settings.py` REDIS_PRO_POOL = redis.ConnectionPool(host='localhost', port=6379, db=3) `consumer.py` class

Re: Python Django Training

2020-02-03 Thread MEGA NATHAN
I am also interested to attend the training. *Regards* Meganathan G On Mon, Feb 3, 2020 at 6:03 PM Chuck wrote: > i am also interested please add me. > > Thanks, > Chuck > > On Sunday, February 2, 2020, 10:27:26 PM PST, sagar ninave < > sagarnin...@gmail.com> wrote: > > > i am also

post list view not found NoReverseMatch

2020-01-29 Thread MEGA NATHAN
Hi All. And this my view page if any bug please tell me. from django.shortcuts import render, get_object_or_404, redirect from django.contrib.auth.decorators import login_required from blog.models import Post, Comment from django.utils import timezone from blog.forms import PostForm, CommentForm

FieldError at / Django models how to reslove this issue....

2019-12-19 Thread MEGA NATHAN
Hi all. Cannot resolve keyword 'published_date_lte' into field. Choices are: author, author_id, comments, create_date, id, published_date, text, title this are models: from django.db import models from django.utils import timezone from django.urls import reverse # Create your models here.

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread MEGA NATHAN
yeah bro *Regards* Meganathan G On Wed, Nov 13, 2019 at 10:15 AM Suraj Thapa FC wrote: > It should be like.. APIView not like APIview > > On Wed, 13 Nov 2019, 9:33 am MEGA NATHAN, > wrote: > >> patterns = getattr(self.urlconf_module, "urlpatterns", &g

Re: simple Rest_framework cannot import name in api view

2019-11-12 Thread MEGA NATHAN
ava script\drf_api\core\views.py", line 8, in from core.serializers import PostSerializer ImportError: cannot import name 'PostSerializer' from 'core.serializers' (C:\Users\Meghanathan\Desktop\java script\drf_api\core\serializers.py) On Wednesday, November 13, 2019 at 7:48:00 AM UTC+5:30

database could't connect in python to atom

2019-10-22 Thread MEGA NATHAN
Hi. AttributeError: module 'mysql.connector' has no attribute 'connect' regards Meganathan, -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: cannot import path in urls

2019-10-02 Thread MEGA NATHAN
Hi. In which file i rewrite app/urls are main file url i write... *Regards* Meganathan G On Thu, Oct 3, 2019 at 10:21 AM Suraj Thapa FC wrote: > In urls.py > Write > from django.urls import path > > On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN, > wrote: >

Re: ModuleNotFoundError: No module named :

2019-09-25 Thread MEGA NATHAN
hi. populate script error in line 12 *Regards* Meganathan G On Wed, Sep 25, 2019 at 9:57 AM Abu Yusuf wrote: > share your full project here. > > On Tue, Sep 24, 2019 at 10:43 PM MEGA NATHAN > wrote: > >> >> >> Hi. >> again i

Re: ModuleNotFoundError: No module named :

2019-09-24 Thread MEGA NATHAN
t; wrote: >> >>> Are you supposed to be using a virtualenv and you don't have that >>> activated? >>> >>> Can you run *pip freeze | grep -i django* and share the output? >>> >>> -- >>> Regards >>> Deep L Sukhwa

Re: Django cms and templates

2019-09-19 Thread MEGA NATHAN
Hi. you check app name 127.0.0.8/app name *Regards* Meganathan G On Thu, Sep 19, 2019 at 4:30 AM Perceval Maturure wrote: > Dear all > > I have a django project done with Django 2.1 and successfully made an > apphook to the cms page bt the problem is that the template file does not

Re: Django Channels 2.0 websocket crashing & blocking while using aiohttp

2018-06-18 Thread Nathan Bluvol
be they are both made > to crash by some third, external, force? > > Andrew > > On Sun, Jun 17, 2018 at 11:33 AM Nathan Bluvol > wrote: > >> I am using Django 2.0.5, Python 3.6.2, Django Channels 2.1.1, aiohttp >> 3.1.3. >> >> Background: >> I am c

Django Channels 2.0 websocket crashing & blocking while using aiohttp

2018-06-17 Thread Nathan Bluvol
I am using Django 2.0.5, Python 3.6.2, Django Channels 2.1.1, aiohttp 3.1.3. Background: I am connecting to an external websocket, asynchronously, using aiohttp within a background channels worker. Once triggered, the socket connection stays alive, listening/streaming, and sends incoming

Django channels and aiohttp - channels websocket crash & blocking background worker

2018-06-17 Thread Nathan Bluvol
I am using Django 2.0.5, channels 2.1.1, aiohttp 3.1.3 two issues: (1) everything works for a while and then the channels websocket dies. Error is 'No handler for message type...'. (2) the background `await t1` call appears to be blocking and it appears that any attempt to trigger

Django - Angular 4 Serializer for inserting Parent and child Models using single JSON post

2018-04-09 Thread Nathan Sivathanu
My requirement - I have two models TravelReq and TravelReqDetails as below class TravelReq(models.Model): empid= models.CharField(max_length=7) startdate= models.DateField() enddate= models.DateField() remarks= models.CharField(max_length=30) missionname=

Re: TemplatedDoesNotExist

2017-05-16 Thread Nathan Lea
able to help you, we need more information: > 1. Which version of Django? > 2. The stacktrace of the error (you can copy the output on the page you > are trying to view). > 3. You view code. > 4. Your settings file. > > Regards, > > Andréas > > 2017-05-16 2:09 GMT+

TemplatedDoesNotExist

2017-05-16 Thread Nathan Lea
hi guys, Im a new otree user and Im trying to practice myself with "public good". Im currently facing a troubleshoot when it's time to launch the game. In fact when i click on a link provided after starting a new session, it shows me a message telling me that my templates aren't quietly

Headless testing

2016-10-12 Thread Nathan
Hi all, Wondering if anyone has an suggestions for headless django testing - any configuration tips or links would be helpful. My site is django 1.8 and we make extensive use of jquery on the frontend. Using phantomjs driver with liveserver test hasn't worked out well. -- You received this

Re: How to track number of visitors on django site

2015-03-10 Thread Nathan Clayton
eas for how to create a similar > functionality or a similar plugin that can be used? > > Regards, > > Andréas Provided you're OK with a MySQL installation, you can always install Piwik (http://piwik.org). Then you'd have direct access to the database for report

Re: Subjectively Required Fields

2014-05-02 Thread Nathan McCorkle
JQuery doesn't solve validation on the backend though, so you'd still want some logic there in case someone modifies or goes around the jQuery and sends packets with bad data. On Apr 29, 2014 12:11 AM, "Venkatraman S" wrote: > What do you mean by an invalid date? IF you are

Re: How do I register to get access to the IRC Channel?

2014-04-07 Thread Nathan McCorkle
nsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web

Re: tutorial part3 : polls didn't match URL patterns

2014-03-09 Thread frankel . nathan
a couple of months ago, I wanted to add this in case anyone is stuck at the same place. Nathan On Friday, January 10, 2014 12:40:25 AM UTC-8, AJ NOURI wrote: > > I have Python 2.7.3 > > I am new in django and I am following the tutorial 3 at : > https://docs.djangoproject.c

Re: "ImportError: No module named django"

2013-04-16 Thread Nathan Hall
Ok, that was it, being completely unfamiliar with the Mac Terminal, I was in the wrong directory. I navigated to the proper directory and got it installed. Thanks for the help guys! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: "ImportError: No module named django"

2013-04-15 Thread Nathan Hall
; > On Mon, Apr 15, 2013 at 11:37 PM, Larry Martell > <larry.mart...@gmail.com>wrote: > >> On Mon, Apr 15, 2013 at 2:34 PM, Nathan Hall <nmh...@gmail.com> wrote: >> > Yep, I've got admin access, it's my personal machine. >> > >> &g

Re: "ImportError: No module named django"

2013-04-15 Thread Nathan Hall
lt;larry.mart...@gmail.com>wrote: > On Mon, Apr 15, 2013 at 2:24 PM, Nathan Hall <nmh...@gmail.com> wrote: > > I tried my password, it doesn't work. > > Go to System Preferences, Users and Groups. Is your account an Admin > account? If not, you can't sudo. You'll need so

Re: "ImportError: No module named django"

2013-04-15 Thread Nathan Hall
I tried my password, it doesn't work. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send

Re: "ImportError: No module named django"

2013-04-15 Thread Nathan Hall
Yep, I'm on 10.8.3. I tried sudo python setup.py install and it asked for a password. I assumed it was just looking for my system password but that didn't work. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: invalid literal for int() with base 10

2012-10-22 Thread Nathan Knight
Just so you know, it is bad practice to use "import * " when importing modules in python. With many modules being used, you can run into conflicting definitions. Plus, it increases overhead - potentially an exponential decrease in performance! -- You received this message because you are

Re: How do I prevent messages getting cached?

2011-12-19 Thread nathan
Thanks Torsten. This seems to be what I was looking for. On Dec 20, 12:11 am, Torsten Bronger <bron...@physik.rwth-aachen.de> wrote: > Hall chen! > > Nathan Geffen writes: > > I am using per-view caching in version 1.3 and would prefer to avoid > > caching in my t

How do I prevent messages getting cached?

2011-12-18 Thread Nathan Geffen
Hi I am using per-view caching in version 1.3 and would prefer to avoid caching in my templates as far as possible. However, I've hit a snag. If the messaging framework generates a message for a cached view, one of two things happen: 1. If the page is not yet in cache, the page gets cached with

Re: Bulk import of data

2011-12-03 Thread Nathan McCorkle
t.name="abc12" currentDataset.relatedObject=otherCurrentObject.id etc,etc? Are you saying I should be doing all that in python, but using raw SQL instead of the fancy python object-like way? like this: https://docs.djangoproject.com/en/dev/topics/db/sql/#executing-custom-sql-directly > > Cal

Re: Bulk import of data

2011-12-01 Thread Nathan McCorkle
> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.c

Re: Need to process uploaded files into database entries(takes hours), how do I return a progress bar?

2011-11-27 Thread Nathan McCorkle
> What are your settings?  Using carrot?  Kombu?  RabbitMQ? > > Does your task try to return a value? > > Sent from my iPhone > > On Nov 27, 2011, at 11:22 PM, Nathan McCorkle <nmz...@gmail.com> wrote: > >> P.S. the printGene function works... printing the m

Re: Need to process uploaded files into database entries(takes hours), how do I return a progress bar?

2011-11-27 Thread Nathan McCorkle
On Sun, Nov 27, 2011 at 11:21 PM, Nathan McCorkle <nmz...@gmail.com> wrote: > Yeah I've seen the djcelery solution before... I've tried implementing > it, but I'm getting an error on the celeryd console: > TypeError: processXLS1() got an unexpected keyword argument 'task_is_eager'

Re: Need to process uploaded files into database entries(takes hours), how do I return a progress bar?

2011-11-27 Thread Nathan McCorkle
P.S. the printGene function works... printing the messages on the celeryd console terminal... the processXLS1 function doesn't even print anything at all On Sun, Nov 27, 2011 at 11:21 PM, Nathan McCorkle <nmz...@gmail.com> wrote: > Yeah I've seen the djcelery solution before... I

Re: Need to process uploaded files into database entries(takes hours), how do I return a progress bar?

2011-11-27 Thread Nathan McCorkle
... more processing code " thanks -Nathan On Sun, Nov 27, 2011 at 9:52 PM, Brian Schott <bfsch...@gmail.com> wrote: > You really should look at django-celery and RabbitMQ.  The upload submit can > initiate a task that is defined in tasks.py.  There are separate worker > processes

Need to process uploaded files into database entries(takes hours), how do I return a progress bar?

2011-11-27 Thread Nathan McCorkle
I'm using Django 1.3 and am processing 3 files into genes, proteins, and genomes for a tool I built... this processing usually takes between 5 minutes to a few hours, depending on the genome size. After uploading the files (10-100 MB), the upload view begins processing the files, without

Field.to_python not working as expected for me...

2011-11-21 Thread Nathan Hoad
I've written a custom field (I'm using Django nonrel) for storing users in a SetField. The SetField doesn't seem to handle serialising the set of User objects properly, so what I've done is implement the pre_save method, which returns a set of strings which are the ids in MongoDB. The

Re: Performance of process_template_response for corporate branding

2011-08-18 Thread Nathan Hoad
both on par, as I was hoping/expecting they would be. The average difference was something like 2 seconds, with the enabled middleware being the faster one usually. Obviously this means nothing, and they're both on par and there's nothing to worry about. On Aug 18, 1:11 pm, Nathan Hoad <

Performance of process_template_response for corporate branding

2011-08-17 Thread Nathan Hoad
I have a project at the moment that requires a lot of corporate branding as well as internationalisation/translations etc. Basically the way the system currently works is that it performs the translations, then applies branding for specific distributors. Now we're developing a web-based front end

Re: Django NoSQL support status?

2011-08-11 Thread Nathan Hoad
Hmm, silly me. I posted this to the users group, not the developers group. My mistake! On Aug 12, 1:18 pm, Nathan Hoad <nat...@getoffmalawn.com> wrote: > Hi guys, just wondering what the status is on the official NoSQL > support? I've done a lot of reading and the last official post

Django NoSQL support status?

2011-08-11 Thread Nathan Hoad
that. Basically, I'm just wondering what, if anything, is being done about it? Thanks, Nathan. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group,

Re: Weird Django "caching" problem

2011-07-16 Thread Nathan Hoad
owser and proxy > caching, look into Django's never_cache decorator. > > On Jul 16, 9:51 am, Nathan Hoad <nat...@getoffmalawn.com> wrote: > > > > > > > > > Hi guys, I migrated my site from PHP to Django about a fortnight ago > > and everything wen

Weird Django "caching" problem

2011-07-16 Thread Nathan Hoad
Hi guys, I migrated my site from PHP to Django about a fortnight ago and everything went really smoothly, except now there appears to be some kind of "caching" on certain pages. I say "caching" because I have no caching enabled in Django, and it seems to be browser based, i.e. I can open a page in

Can the admin be configured to save generic content types with the id of the base model of an inherited model

2011-06-01 Thread Nathan Geffen
to the base class, i.e. BasicPost? Thanks. Regards Nathan PS: Here's the ugly workaround. Very difficult for a programmer to decipher and I suspect it generates very expensive database hits. class BasicPost(models.Model) def get_related_posts(self): tags = self.tags.all() return

Re: Disable debug logging for django.db.backends?

2011-05-30 Thread Nathan Duthoit
It's more of a hack than a clean solution but it works. Add the following to your settings file: import logging logging.getLogger('django.db.backends').setLevel(logging.ERROR) On May 24, 12:32 am, diafygi wrote: > Howdy all, > > I have DEBUG=True in my settings.py,

XML parsing

2011-01-31 Thread sami nathan
HI I am trying to parse my response by the following method elif request.method == 'POST': reqp=request.raw_post_data response = HttpResponse(mimetype='text/xml') response.write(reqp) print response xmldoc = minidom.parse('binary.xml') reflist =

QUERYDICT immutable

2011-01-28 Thread sami nathan
HI I am NEWBIE i am trying to run an server and my POST request is from java api(client) and i cant able to see exact error in java api its just showing HTML request is not accepting in java b coz django giving me error iin html format but by some how i manage to print request.POST from my

Re: Django and Oracle XE - Empty models file

2011-01-28 Thread Nathan
Cheers for the reply. The database in question is a remote database. I presume by Django user that you're referring to the local user account? Otherwise the user credentials in settings should be adequate. I'm guessing the only resolution to this is to hand craft the models? -- You received

Re: parsing SOAP request

2011-01-26 Thread sami nathan
Hi Now i tried to parse the incoming request and send my response i tried in the following way by just sending what request came as it as response (ECHO server).and i am very newbie i dont know how to parse the request. I used ZSI sucessfully but in that requset was handled by itself but ZSI

parsing SOAP request

2011-01-26 Thread sami nathan
Hi i am working web service i am getting SOAP(POST) request from client now i am trying to parse the request xml and sending the response my soap request is http://schemas.xmlsoap.org/soap/envelope/ ">http://flypp.infy.com/sms/v2010r1_0 ">12345343661t1p1p2DICT test']}> response now i want

Re: WEB SERVICE

2011-01-25 Thread sami nathan
HI Now i am getting some way but i still cant parse the incoming request my view looks like this at present i am trying to send the request i am getting from xml.dom import minidom import urllib import socket from django.http import HttpResponse from django.core import serializers import

WEB SERVICE

2011-01-23 Thread sami nathan
Hi i want to do web service in using django My client is sending SOAP request and should send response as SOAP response i am now sucessful in this process using ZSI but i want to run the process in django server So i refered http://djangosnippets.org/snippets/979/ now it would be helpfull

Re: ZSI WEB SERVICE

2011-01-06 Thread sami nathan
Ya me too in the same problem if any one find the solution please post here -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: ZSI WEB SERVICE

2010-12-18 Thread sami nathan
"""__init__() must be called with TypeCode instance as first argument (got String instance instead) """what this error says when i overriden the ZSI server file (generated using wsdl2py in ZSI) i got this error is there any one to say what this error says I am trying to act as server --

Re: get request from an java API to DJango

2010-12-18 Thread sami nathan
But i should act as an server will suds allow that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: get request from an java API to DJango

2010-12-18 Thread sami nathan
thanks for notification.Please guide me through a source to get a grasp of suds and continue working.Suggest me a point to startwith.To be honest i am completely new to this. Regards, Sami -- You received this message because you are subscribed to the Google Groups "Django users" group. To

ZSI WEB SERVICE

2010-12-18 Thread sami nathan
__init__() must be called with TypeCode instance as first argument (got String instance instead) what this error says when i overriden the ZSI server file i got this error is there any one to say what this error says -- You received this message because you are subscribed to the Google Groups

get request from an java API to DJango

2010-12-17 Thread sami nathan
THANKS FOR NOTIFICATION Hi i am newbie to django i am having task that want to get request from an java API and give Response to the same API (To act as an server ) So i am having WSDL file for the JAVA API I decided to do that in ZSI WEB SERVICE and i generated server file using

urllib .urlopen problem

2010-12-14 Thread sami nathan
my django site was running successfully but now it s giving me the following error IO ERROR [Errno socket error] (11004, 'getaddrinfo failed' my view looks like this and i am running in proxy settings but i included that in my code proxie = {'http': 'http://192.168.1.100:8080'} word =

Re: Query about GenericTabularInline

2010-12-08 Thread nathan
Sorry. Item 1 is my fault. But I still haven't resolved item 2. On Dec 7, 1:35 pm, Nathan Geffen <nathangef...@gmail.com> wrote: > Hi > > I have set up a Generic inline (using generic.GenericTabularInline). It > behaves differently (and from my application's point of v

WEB service using Restify

2010-12-07 Thread sami nathan
THANKS FOR NOTIFICATION I am trying to do webservice with RESTfull web service but i dint create models my view file looks like this from django.http import * import urllib def current_datetime(request): word = request.GET['word']

Query about GenericTabularInline

2010-12-07 Thread Nathan Geffen
or am I doing something wrong or making a wrong assumption about how it should work? Thanks. Regards Nathan -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubs

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-29 Thread sami nathan
ANY one knows how to generate server.py flie from wsdl2py in ZSI -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-29 Thread sami nathan
To create server file i used this command but showing following error D:\Python25\Scripts>python wsdl2py --complexType localhost 8080 d:/soap/zz/FlypS ms.wsdl Expecting a file/url as argument (WSDL). Traceback (most recent call last): File "wsdl2py", line 9, in wsdl2py() File

WEB SERVICE IN DJANGO USING ZSI

2010-11-28 Thread sami nathan
To genrate sevice file from my wsdl i used following command but it shows the same D:\Python25\Scripts>wsdl2py --complexType --file=ZonedLocation.wsdl 'wsdl2py' is not recognized as an internal or external command, operable program or batch file. but my wsdl2py is in the scripts oly -- You

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread sami nathan
But i am not havin python intreptor i use my command prompt this way Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ezhil>python Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on wi 32 Type "help",

Re: WEB SERVICE IN DJANGO USING ZSI

2010-11-27 Thread sami nathan
for creating server.py from wsdl file i am using this following code i dont na weather its right but its not creating any file but its throwing error >>> wsdl2py --extended --file=D;\soap\FlyppSms.wsdl File "", line 1 wsdl2py --extended --file=D;\soap\FlyppSms.wsdl

Re: WEB SERVICE IN DJANGO USING SOAP

2010-11-27 Thread sami nathan
After opening and closing also showing me the same result i cant say not to output the BOM to generator b coz its an another person who generated and gave to me and asking me to create web service using just wsdl file and given me open choice of use rather SOAP or REST i also decided to use REST

Re: WEB SERVICE IN DJANGO USING SOAP

2010-11-26 Thread sami nathan
encoding="UTF-8"?> should i remove this from wsdl file...? and more over i am trying to use my system as server i am refering dive into python chapter 12 introspecting wsdl and searching google i cant find weather its an client side code or server side code but i am in need of server side code do

WEB SERVICE IN DJANGO USING SOAP

2010-11-26 Thread sami nathan
Thanks for notification I am trying to develop web service using django with soap interface i checked my code in python to open wsdl file but its showing error i am sure that wsdl file dosent have any errors this is my code>>> from SOAPpy import WSDL >> server=WSDL.Proxy('D/soap/FlyppSms.wsdl')

SERIALIZING

2010-11-03 Thread sami nathan
HOW TO GET XML RESPONSE in following THIS IS HOW MY URL.PY LOOKS LIKE from django.conf.urls.defaults import * from it.view import current_datetime # Uncomment the next two lines to enable the admin: #from django.contrib import admin #admin.autodiscover() urlpatterns = patterns('', #

Re: Attributr error

2010-11-03 Thread sami nathan
i Think serialisation would be helpful for this some one help me how to use it -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: Attributr error

2010-11-03 Thread sami nathan
HOW TO GET XML RESPONSE in following THIS IS HOW MY URL.PY LOOKS LIKE from django.conf.urls.defaults import * from it.view import current_datetime # Uncomment the next two lines to enable the admin: #from django.contrib import admin #admin.autodiscover() urlpatterns = patterns('', #

Re: Attributr error

2010-11-03 Thread sami nathan
Where should i use this please tell!! should i use in urls.py -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: Attributr error

2010-11-02 Thread sami nathan
I want my final result in xml format and how can i do that? thanks for notification -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email

Attributr error

2010-11-02 Thread sami nathan
THIS IS HOW MY URL.PY LOOKS LIKE from django.conf.urls.defaults import * from it.view import current_datetime # Uncomment the next two lines to enable the admin: #from django.contrib import admin #admin.autodiscover() urlpatterns = patterns('', # Example:

ATTRIBUTE ERROR

2010-11-02 Thread sami nathan
If i am doing anything wrong forgive me i am newbe MY error is Exception Type: AttributeError Exception Value: 'str' object has no attribute 'resolve' Exception Location: D:\Python25\lib\site-packages\django\core\urlresolvers.py in resolve, line 25 My url.py look

ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this

Fwd: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
-- Forwarded message -- From: sami nathan <itssami.g...@gmail.com> Date: Mon, Nov 1, 2010 at 6:42 PM Subject: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings To: django-users@googlegrou

ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this

Re: cannot setup database

2010-11-01 Thread sami nathan
My setting file looks like this # Django settings for flyp project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2',

cannot setup database

2010-11-01 Thread sami nathan
When i run the command python manage.py syncdb i got the follwing error self.connection = Database.connect(**kwargs) sqlite3.OperationalError: unable to open database file Exception exceptions.AttributeError: '_shutdown' in ignoredDATABASES = { 'default': { 'ENGINE':

can't open file 'django-admin.py': [Errno 2] No such file or directory'.

2010-10-29 Thread sami nathan
Whenever I try to execute a python script that is located in the /usr/local/bin, python gives me the error 'python: can't open file 'django-admin.py': [Errno 2] No such file or directory'. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

'str' object has no attribute 'resolve' Exception Location: C:\Python25\Lib\site-packages\django\core\urlresolvers.py in resolve,

2010-10-28 Thread sami nathan
-- Forwarded message -- From: sami nathan <itssami.g...@gmail.com> Date: Thu, Oct 28, 2010 at 3:41 PM Subject: ATTRIBUTE ERROR To: django-users@googlegroups.com My occured Error is Exception Value: 'str' object has no attribute 'resolve' Exception Location:        C:\Py

ATTRIBUTE ERROR

2010-10-28 Thread sami nathan
My occured Error is Exception Value: 'str' object has no attribute 'resolve' Exception Location: C:\Python25\Lib\site-packages\django\core\urlresolvers.py in resolve, line 217

django erest interfac

2010-10-27 Thread sami nathan
hi for django restfull interface i am using the link given below is it correct i am experiencing error in that steps http://code.google.com/p/django-restful-model-views/ please visit this and tell me -- You received this message because you are subscribed to the Google Groups "Django users"

Re: interface django and rest

2010-10-27 Thread sami nathan
But is telling about piston is i am very beginner of django i want to inerface django and RESTFULL service and i am also blinking with what to do with my wsdl file Please help by THANKS -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

interface django and rest

2010-10-27 Thread sami nathan
Please Suggest me an tutorial for interfacing django and restfuli thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: how can i wsdl file in my django

2010-10-25 Thread sami nathan
I think following is opt ans for my question Mr Brian Bouterse No matter the tools you have, it's hard to make a WSDL for a RESTful service. WSDL 1.1, after all, was specifically designed to describe services built using SOAP. In response, the Web Application Development Language (WADL) was

Re: how can i wsdl file in my django

2010-10-25 Thread sami nathan
Can i use RESTfull insted of SOAP service -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

how can i wsdl file in my django

2010-10-23 Thread sami nathan
After completing my project i need to use wsdl file for web service how could i use it any sugesstions -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this

Re: Executing queries across multiple models

2010-10-13 Thread nathan
Thanks. Worked perfectly. I never thought to do: for person in Person.objects.all(): -- Nathan On Oct 13, 4:37 am, Kenneth Gonsalves <law...@au-kbc.org> wrote: > On Tue, 2010-10-12 at 20:39 -0700, nathan wrote: > > I have three Models: > > > Person: > >     name

Executing queries across multiple models

2010-10-13 Thread nathan
I have three Models: Person: name = models.CharField(max_length=20) Item: name = models.CharField(max_length=20) Collection: owner = models.ForeignKey(Person) items = models.ManyToManyField(Item) Where each Person has a Collection consisting of several Items. What I want to do

Re: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
Hello sir, I need to display the reult of "http://m.broov.com/wap/di/sub?word=dog=00=Submit; in my url which is http://localhost/flip/wap/di/sub?word=dog=00=Submit My view looks like this from django.http import * from django.template import loader, Context from django.shortcuts import

Re: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
Hello sir, I need to display the reult of "http://m.broov.com/wap/di/sub?word=dog=00=Submit; in my url which is http://localhost/flip/wap/di/sub?word=dog=00=Submit My view looks like this from django.http import * from django.template import loader, Context from django.shortcuts import

Fwd: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
-- Forwarded message -- From: sami nathan <itssami.g...@gmail.com> Date: Tue, Oct 12, 2010 at 3:37 PM Subject: WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL To: django-users@googlegroups.com  i want to send my req from my url that is"http://localhost/flip/wap/

WANT TO SEND REQ TO URL GET RESPONSE FROM THE SAME URL

2010-10-12 Thread sami nathan
i want to send my req from my url that is"http://localhost/flip/wap/di/sub?word=formula=00=Submit; that i want to send only the word "formula" to the url "http://m.broov.com/wap/di/sub?word=fomula=00=Submit"and i want to get response from the same url and display in my page my view looks like

  1   2   3   >