Re: 3-legged-OAuth Logout

2011-07-25 Thread Lior Sion
That depends a lot on the ui. Facebook, for example, logs out on both sites, while Twitter doesn't. If you're worried about a security issue, have you "log out" button say something like "Log out of XXX" where xxx is your site name. Another option I've seen (when relying completely on a 3rd party

Re: Doubt : Redirect after registration

2011-07-25 Thread Lior Sion
Are you using anything not defaulted, like django-registration? In the database - is the user created and the active flag is true? On Jul 24, 2:16 pm, vaibhav agarwal wrote: > Hi, > > I am using Django 1.3. I have started building my first site in django > and it seems real fun . I am learning a

memcached occasional errors

2011-07-25 Thread het.oosten
On the memcached mailing list they suspected this is a Django/python issue so I started a thread here. A user named dormando replied that the problem below looks like a connection failure (sock has gone null) I use memcached on a low traffic website with Django 1.2.4. Sometimes I get this error m

drag and drop rows on django admin

2011-07-25 Thread rahul jain
Tried this snippet but not working http://djangosnippets.org/snippets/2306/ Anyone else tried it, I would like to drag and drop rows on django admin. Thanks. RJ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Best & Easiest Python/Django Forum App to install

2011-07-25 Thread Peter Murphy
Wildcard, Have you checked DjangoPackages? More Forum apps than you can poke a stick at, and all compared for features supported: http://djangopackages.com/grids/g/forums/ Best regards, Peter On Jul 26, 8:37 am, wildcard wrote: > I would like some steering in my planning so that I am headed in

snippet

2011-07-25 Thread rahul jain
Tried this snippet but not working http://djangosnippets.org/snippets/2306/ Anyone else tried it, I would like to drag and drop rows on django admin. Thanks. RJ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Django hosting

2011-07-25 Thread Gour-Gadadhara Dasa
On Mon, 25 Jul 2011 21:40:23 -0400 william ratcliff wrote: > +1 webfaction I used webfaction, but then moved to http://djangohosting.ch/ (http://djangoeurope.com) - nice ping from Europe, great support & prices and the setup is even more flexible than at Webfacton. Sincerely, Gour -- “In th

Re: Detecting if i18n/10n are installed from a template

2011-07-25 Thread h3
Just answered my own question .. if request.LANGUAGE_CODE isn't in context .. it's not. Meh. On Jul 25, 11:00 pm, h3 wrote: > Is there a mechanisme to detect if i18n/10n are installed from the > template code ? > > I don't see anything about it in the official doc.. -- You received this messag

Detecting if i18n/10n are installed from a template

2011-07-25 Thread h3
Is there a mechanisme to detect if i18n/10n are installed from the template code ? I don't see anything about it in the official doc.. -- 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@googlegroup

Re: Django hosting

2011-07-25 Thread Brad Montgomery
I've been using rackspace's Cloud servers. They give you a nice platform and charge only for what you use (so low-traffic sites end up being very affordable). However, you should play close attention to a service like https://gondor.io/ - it's an extremely easy-to-use service that makes host

Best & Easiest Python/Django Forum App to install

2011-07-25 Thread wildcard
I would like some steering in my planning so that I am headed in the right direction, concerning Django Forum apps and where to find them, as I am a bit lost looking for them. I have built my first server (Debian). I've used OpenVZ which appears to work great and allows me now to create websites.

SVN Django: Having trouble using contrib.staticfiles to see default admin page CSS

2011-07-25 Thread Michael Blume
I have 'django.contrib.staticfiles' in my INSTALLED_APPS and STATIC_URL="/static/" If I go to my admin page, it attempts to load the base css file from /static/admin/css/base.css, and fails. If I open this url in my browser I get "/home/mike/workspace/django/django/contrib/admin/media/css/base.c

Re: A problem about rpc4django

2011-07-25 Thread Kejun He
Hi, Thanks for your reply. And i have resolved this error. It just because i defined a function in a __init__.py file which is used to register RPC function, the project back to normal when i moved the function to other file. So strange it is regards, kejun On Tue, Jul 26, 2011 at 8:02 AM, Mik

Re: Django hosting

2011-07-25 Thread william ratcliff
+1 webfaction On Mon, Jul 25, 2011 at 5:00 PM, fred.se...@sunrise.com < fred.se...@sunrise.com> wrote: > I used webfaction and they were most helpful. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to

Re: Doubt : Redirect after registration

2011-07-25 Thread vaibhav agarwal
Hi. Yes I did set AUTHENTICATION_BACKENDS to django.contrib.auth.backends.ModelBackend in settings.py . Also doesnt Django by default set AUTHENTICATION_BACKENDS to the value even if I dont set it in the settings.py folder? Inspite of this , the solution hasnt worked :(. Thanks Vaibhav On Jul 24

how to create a hidden field

2011-07-25 Thread webcomm
I haven't been able to find anything documenting how to create a hidden field. I see this is done with the HiddenField widget but don't know how to use that. I tried the following but the field still shows... class NewsForm(ModelForm): itemid = forms.IntegerField(widget=forms.HiddenInput,req

Managing static files - beginner's question

2011-07-25 Thread Rodney Topor
I'm trying to learn the new way of managing static files introduced in version 1.3. The documentation says that TEMPLATE_CONTEXT_PROCESSORS is defined to include django.core.context_processors.static by default, and that you can then refer to static files in your templates by writing something lik

Re: TimeField with minute-resolution in forms

2011-07-25 Thread Brian
Is that not the opposite problem? I enter a value, which is correctly rejected if I specify a non-zero seconds value, but when I try to edit it again, the value in the form's entry-box has been rendered as "hh:mm:00". Surely its the "from_python" method that I need to override - if such a thing

Re: TimeField with minute-resolution in forms

2011-07-25 Thread Andre Terra
I'm mostly guessing, but you can try defining a custom widget for the field. I'm not sure how much of the behavior of datetime fields depends on the javascript that gets slapped to them. So instead, maybe you could override the field's to_python method to append/replace the seconds as needed, or ba

TimeField with minute-resolution in forms

2011-07-25 Thread Brian
Hi, I have a form with a TimeField and I'd like it to only accept values in the form hh:mm, as opposed to hh:mm:ss. The form is a ModelForm and I've overridden the 'time' field with a TimeField where I've specified the input_formats as ['%H:%M']. This works fine when entering value for a new inst

Re: A problem about rpc4django

2011-07-25 Thread Mike Dewhirst
On 25/07/2011 6:04pm, Kejun He wrote: Hi, A strange problem! The same project about RPC could work normally in Linux, but it reported a error "global name 'dispatcher' is not defined" on development server(http://127.0.0.1:8000) in Windows OS. Did anyone meet this problem before? Could you t

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread Ian Clelland
On Mon, Jul 25, 2011 at 4:05 PM, webcomm wrote: > > Thanks. Any idea why the following isn't working in my News class? > > The processing doesn't get to that exit call, even if it's a new item. > > > > def save(self, *args, **kwargs): > > if not hasattr(self,'id'): > > im

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread webcomm
> Thanks.  Any idea why the following isn't working in my News class? > The processing doesn't get to that exit call, even if it's a new item. > >     def save(self, *args, **kwargs): >         if not hasattr(self,'id'): >             import sys >             sys.exit('must be a new item') >      

Re: Fieldsets in Admin Inline

2011-07-25 Thread Micky Hulse
On Mon, Jul 25, 2011 at 2:57 PM, Juergen Schackmann wrote: > is there a way to define fieldsets in the Inline? > If could not find anything in the docs, but to me the idea sounds quite > reasonable; so I am wondering if I just dont find it?!?!?! Not tested myself, but have you tried the normal fi

Re: Setting LOGIN_URL dynamically, for different users, based on app?

2011-07-25 Thread dpapathanasiou
On Jul 25, 12:23 pm, Alexey Luchko wrote: > On 23.07.2011 18:13,dpapathanasiouwrote: > I've got a question on the solution.  Does it allow access to the other app > by direct url after successful login and redirect? No, because the decorator function checks the Group of request.user and rejects

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread webcomm
On Jul 25, 3:57 pm, Javier Guerra Giraldez wrote: > On Mon, Jul 25, 2011 at 2:50 PM, webcomm wrote: > > try: > >  self.id > > except NameError: > >  # run this code if it is a new item > > else: > >  # run this code if this is a previously saved item > > works, but it's nicer to use "if hasattr(o

Fieldsets in Admin Inline

2011-07-25 Thread Juergen Schackmann
Hi all, is there a way to define fieldsets in the Inline? If could not find anything in the docs, but to me the idea sounds quite reasonable; so I am wondering if I just dont find it?!?!?! Thanks Juergen -- You received this message because you are subscribed to the Google Groups "Django users"

Re: 3-legged-OAuth Logout

2011-07-25 Thread Vignesh Sunder
Thanks for the reply..But I feel this could be a security issue, considering the fact that the user (say user1) would not be aware of the fact that he/she has not yet been logged out of Twitter. If another user (say user2) gets hold of the system before user1's cookie/session gets timed out, and ha

Re: Django hosting

2011-07-25 Thread fred.se...@sunrise.com
I used webfaction and they were most helpful. -- 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...@googlegroup

Re: Django hosting

2011-07-25 Thread Ethan Poole
You have many options for deployment, but if you just want some simple hosting which support Django, a number of providers are listed here: http://djangofriendly.com/hosts/ On 25 Juli, 09:18, nicolas HERSOG wrote: > I ve never deploy my "crazy and test django web apps" yet but you should > look t

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread Javier Guerra Giraldez
On Mon, Jul 25, 2011 at 2:50 PM, webcomm wrote: > try: >  self.id > except NameError: >  # run this code if it is a new item > else: >  # run this code if this is a previously saved item works, but it's nicer to use "if hasattr(obj,field): " > More generally, what do you think of this state

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread webcomm
I'm still learning python, so have to ask about how this would be done. Something like the following? try: self.id except NameError: # run this code if it is a new item else: # run this code if this is a previously saved item More generally, what do you think of this statement: "If there

Re: Django + PyPy = ?

2011-07-25 Thread Bill Freeman
It still doesn't seem like a Django issue, but a pypy issue. You need to be able to run stuff from other than the pypy-dist/bin directory for pypy to be useful. One possibility is that you are actually getting a different pypy executable. Say (on *nix) "which pypy" from one of those other direct

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread Dmitry Pisklov
Have a look at this doc: https://docs.djangoproject.com/en/1.3/ref/models/instances/#how-django-knows-to-update-vs-insert Basically, it says, that given you're not going to assign primary key prior to saving your object to DB, you may rely on PK field's value, e.g. if it's None - it's new model,

Re: in my model, how can I tell when I'm saving a new item

2011-07-25 Thread Javier Guerra Giraldez
On Mon, Jul 25, 2011 at 2:03 PM, webcomm wrote: > I want to override the save method in one of my models.  How do I know > if I'm calling save on a newly created item or on one that is already > in the database?  How to make that distinction in my save method? if it has an id, it's not new -- J

object value distinct for ForeignKey

2011-07-25 Thread Alfredo Alessandrini
Hi, I've a model testDB with a foreignkey "country" related to another database. I need to retrieve the unique value of country.common_name. With this country_list = testDB.objects.values('country').distinct I can retrieve the unique value, but only the ID. In [63]: testDB.objects.values('cou

in my model, how can I tell when I'm saving a new item

2011-07-25 Thread webcomm
I want to override the save method in one of my models. How do I know if I'm calling save on a newly created item or on one that is already in the database? How to make that distinction in my save method? Thanks, Ryan -- You received this message because you are subscribed to the Google Groups

Re: Django open source cashflow management app

2011-07-25 Thread zodman
http://misgastos.zodman.com.mx its on spanish sorry. https://github.com/zodman/misgastos/ On Sun, Jul 24, 2011 at 8:44 AM, mf wrote: > Does anyone knows about an open source cashflow management app like > this one[0], built with django?. > > [0] http://pulseapp.com/ > > Thanks for your help. > >

Re: Apache errors when trying to move Django project to python-wsgi production environment

2011-07-25 Thread Dmitry Pisklov
Can't see any errors - only notices... -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/NwcodZvCnNoJ. To post to this group, send email to django-users@googl

Re: Django + PyPy = ?

2011-07-25 Thread Dmitry Pisklov
It doesn't make any difference. This error appears if you start pypy from directory other than /pypy-dist/bin. If I start it right from there: ./pypy Python 2.7.1 (b590cf6de419, Apr 30 2011, 02:00:34)

Re: Is there a way to insert data from a csv file into my database?

2011-07-25 Thread km
pls try "copy" in postgres. KM On Mon, Jul 25, 2011 at 7:46 PM, Josh wrote: > pgloader is for Postgres I think. If it has to be to a single table it > shouldn't be that difficult in Python: > > > 1) get sqlalchemy and declare the django-table. You can use > SQLAutocode for this. > 2) import and

Apache errors when trying to move Django project to python-wsgi production environment

2011-07-25 Thread wilbur
Hello, Trying to move my Django 1.3 application from development to production in Apache python-wsgi environment. Receving the following errors in the Apache logs: [Mon Jul 25 10:35:29 2011] [notice] caught SIGTERM, shutting down [Mon Jul 25 10:35:30 2011] [notice] mod_python: Creating 8 session

Re: Is there a way to insert data from a csv file into my database?

2011-07-25 Thread nixlists
Wow, these are great. I was thinking about having to write something much more basic, now I have something to learn from. Thanks for sharing! -- 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@goog

Re: Setting LOGIN_URL dynamically, for different users, based on app?

2011-07-25 Thread Alexey Luchko
On 23.07.2011 18:13, dpapathanasiou wrote: That's interesting, I hadn't thought about using a hidden input for next in the two login templates. In the end, though, I went with just one login template. And rather than use UserProfiles (since there were no additional attributes I needed to attach

Re: Error with converting month_format in django.views.generic.date_based.object_detail

2011-07-25 Thread Josh
Found it or at least found a workaround. Added month_format to the input dict. A bit strange though? my_info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', 'month_format': '%m', } -- You received this message because you are subscribed to the Google Groups "Djan

Re: Django hosting

2011-07-25 Thread nicolas HERSOG
I ve never deploy my "crazy and test django web apps" yet but you should look this way : https://docs.djangoproject.com/en/1.3/howto/deployment/ On Mon, Jul 25, 2011 at 4:12 PM, Jacob Scherffenberg wrote: > Hello me and a friend have created a small django web application for > a company, and a

Re: Is there a way to insert data from a csv file into my database?

2011-07-25 Thread Josh
pgloader is for Postgres I think. If it has to be to a single table it shouldn't be that difficult in Python: 1) get sqlalchemy and declare the django-table. You can use SQLAutocode for this. 2) import and parse the csv-file ( import csv ) 3) use the parsed csv as input for sqlalchemy and add th

Django hosting

2011-07-25 Thread Jacob Scherffenberg
Hello me and a friend have created a small django web application for a company, and are now as good as done, but none of us really knows how to host a django project properly -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Error with converting month_format in django.views.generic.date_based.object_detail

2011-07-25 Thread Josh
The error obviously is: Page not found (404) I'm using Django 1.3 -- 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+uns

Error with converting month_format in django.views.generic.date_based.object_detail

2011-07-25 Thread Josh
I'm new at using Django and am learning it now from several books and internet. I run into problems with changing the month_format to 2 digits ( %m = 06 ) instead of 3 chars (%b = jun) I checked the models.py def get_absolute_url(self): return ('my_entry_detail', (), { 'year': self.my

Re: Is there a way to insert data from a csv file into my database?

2011-07-25 Thread Andre Terra
This hasn't been tested, but so far I really like what I wrote: http://dpaste.com/hold/577295/ http://dpaste.com/hold/577299/ The code might be missing a few imports, as I copy-pasted and removed a few tidbits for the sake of simplicity. I'm thinking of packaging into an app one of these days, o

Re: Django + PyPy = ?

2011-07-25 Thread Bill Freeman
Get PyPy running properly first? You second example still has the error message, even before python's banner is printed. That's not related to Django at all, I'll bet. Best to find a PyPy FAQ, mailing list, or IRC channel on which to ask. Bill On Fri, Jul 22, 2011 at 6:40 PM, Dmitry Pisklov w

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-07-25 Thread nicolas HERSOG
I won t be able to follow the live session but I can't wait to watch your record on YT. Thx! On Mon, Jul 25, 2011 at 2:42 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Second call for register your attendance on this webcast, if you haven't > already don

AW: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Szabo, Patrick (LNG-VIE)
Glad it works now :-) . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT Developer LexisNexis Marxergasse 25, 1030 Wien mailto:patrick.sz...@lexisnexis.at Tel.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.c

Re: Problim with Forms..

2011-07-25 Thread KP
First question : Why are you using 'GET' here, as AFAIK the best practice is use 'POST' whenever you want to change(Add/delete/edit) data in the back end The problem here is that u r instantiating the form in the wrong way. go through the examples here about how request.POST can be used : http://

Re: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Showket Bhat
Thankyou Sir, At last I did it.. U know I was having de problem with form name and class name..I thought these both shuld be same.. I changed The Form name to student_form and my problem was solved... After few days... O Thank God... may Almighty Give u long life..Thanks a lot once again -

Re: Possible interest in a webcast/presentation about Django site with 40mil+ rows of data??

2011-07-25 Thread Cal Leeming [Simplicity Media Ltd]
Second call for register your attendance on this webcast, if you haven't already done so. Thanks Cal On Tue, Jul 12, 2011 at 2:48 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Hi all, > > Great response to this, 45 registered votes in total. > > The web

AW: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Szabo, Patrick (LNG-VIE)
I guess you question is how you tell the view to use your template right ?! Im not a pro myself but here is how i understand it: You need to return a rendered response in your view. Now you can directly refer to your template like this: return direct_to_template(request,'xxx.html') or if you nee

Re: 3-legged-OAuth Logout

2011-07-25 Thread DrBloodmoney
On Mon, Jul 25, 2011 at 5:47 AM, Vignesh Sunder wrote: > Hi. I was just curious to know about the logout functionality of > OAuth..When a User logs out from the Consumer (After 3-legged OAuth > login) site, the User's session happens to get flushed. But I believe > this happens only on the Consume

Re: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Showket Bhat
Yes U are right.. Now sir how would i link the template with view.py.. Inface i am doing what i am reading from my python book )definitive Guide).. but I think I am trying to do hurry... is it ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread bruno desthuilliers
On Jul 25, 10:23 am, Showket Bhat wrote: > Hi I am facing this problim from few days..tried a lot to correct it > but everytime i failed..Please Help... > > I have created a simple form to store few field values in my > database.. It was working until i used the forms.py.. when i developed > this

AW: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Szabo, Patrick (LNG-VIE)
Plz post the code of your model, form and view so we can take a look at it. . . . . . . . . . . . . . . . . . . . . . . . . . . Patrick Szabo XSLT Developer LexisNexis Marxergasse 25, 1030 Wien mailto:patrick.sz...@lexisnexis.at Tel.: 00431 534521573 Fax: +43 (1) 534 52 - 146 -Ursprün

Re: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Showket Bhat
thanks again for ur assistance... I appreciate.. Thankyou Sir, I did some changes and now i am able to store data in database with out using forms however i wrote whole form designing code in .html file, but when i am trying to use forms it gives __init() error..the same one..Please Say something

Problim with Forms..

2011-07-25 Thread Showket Bhat
Hi All.. I am New to Django, I am trying to develop a page with few fields and want to store them in database..I am acchiving this without using forms by writing a long code in my .html file.. I want to do it with forms.py which would minimize my code and i ll also acheive loose coupling.. When I

AW: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Szabo, Patrick (LNG-VIE)
I think you should complete the tutorial here: https://docs.djangoproject.com/en/1.3/intro/tutorial01/ It gives you a good overview of what django does and how. A big part of what youre trying to accomplish is already covered in this tutorial so it might be all you need :-) . . . . . . . . .

Re: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Showket Bhat
Thanks a lot for ur kind reply.. Well i am new to python and Django, It all went over my head..Meta Keyword, ModelForm and Espatially the flow, Please if u can send me some code or any manual where from i can create a simple web page with a form and then some functionality to add data in my postgr

3-legged-OAuth Logout

2011-07-25 Thread Vignesh Sunder
Hi. I was just curious to know about the logout functionality of OAuth..When a User logs out from the Consumer (After 3-legged OAuth login) site, the User's session happens to get flushed. But I believe this happens only on the Consumer side. However, if the User immediately tries to connect to the

Re: Extending the ManyToMany relation, maybe a bad idea

2011-07-25 Thread Shawn Milochik
Have you looked into creating your own connector table for your ManyToMany using the 'through' keyword? https://docs.djangoproject.com/en/1.3/topics/db/models/#many-to-many-relationships -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: lists and not lists?

2011-07-25 Thread Tom Evans
On Mon, Jul 25, 2011 at 10:48 AM, MikeKJ wrote: > > #from a json stream I have > > url = "http://..org/api//%s"; % id > site = urllib2.urlopen(url) > stuff = simplejson.load(site) > > #within stuff is a list? of images (large, medium and small), just examine > large > > large = map(lam

lists and not lists?

2011-07-25 Thread MikeKJ
#from a json stream I have url = "http://..org/api//%s"; % id site = urllib2.urlopen(url) stuff = simplejson.load(site) #within stuff is a list? of images (large, medium and small), just examine large large = map(lambda i: i['paths']['large'], stuff['']['images']) #this returns

Re: AW: AW: admin_media_prefix in page source is wrong

2011-07-25 Thread Bram Deprettere
Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Bram Deprettere Gesendet: Montag, 18. Juli 2011 09:36 An: django-users@googlegroups.com Betreff: Re: AW: admin_media_prefix in page source is wrong I mean I used ln -ls to make a link to ../../lib/python2.

AW: __init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Szabo, Patrick (LNG-VIE)
Hi, So you want a form to store a news student in your DB right ?! If that's correct you also have a Model for the Student so you could simply use a ModelForm instead of a Form. Example: class Buchung(models.Model): Mitarbeiter = models.IntegerField(max_length=3) Produkt = models.Forei

__init__() got an unexpected keyword argument 'city'

2011-07-25 Thread Showket Bhat
Hi I am facing this problim from few days..tried a lot to correct it but everytime i failed..Please Help... I have created a simple form to store few field values in my database.. It was working until i used the forms.py.. when i developed this with forms.py i got this error __init__() got an une

A problem about rpc4django

2011-07-25 Thread Kejun He
Hi, A strange problem! The same project about RPC could work normally in Linux, but it reported a error "global name 'dispatcher' is not defined" on development server(http://127.0.0.1:8000) in Windows OS. Did anyone meet this problem before? Could you tell me how to fix it? Thank you! ===

Re: Web development newbie

2011-07-25 Thread bruno desthuilliers
On Jul 24, 12:40 am, Javier Guerra Giraldez wrote: > On Sat, Jul 23, 2011 at 3:03 PM, bruno desthuilliers > > wrote: > > I don't understand what you mean by "serverside apps" here - I mean, > > Django IS for serverside applications, not client side (which would > > require javascript). > > There

Re: Web development newbie

2011-07-25 Thread kenneth gonsalves
On Sun, 2011-07-24 at 04:25 -0700, Dmitry Pisklov wrote: > PS I am a Java developer, and more then year ago started looking into > python, wrote few small components for work and now trying to leverage > django for my web-project. I doubt I could do something so fast if I > haven't known python at