Re: NetBeans IDE for Python

2008-11-27 Thread Robin
hello, I have also installed it and have seen there is this branch: http://wiki.netbeans.org/Python#section-Python-DjangoBranch anybody has installed this version of the branch ? r On Nov 20, 8:04 pm, ohmi <[EMAIL PROTECTED]> wrote: > Same results here although other sorts of autocomplete to s

i18n project custom locale won't stick

2008-07-20 Thread robin
I've spend 3 days on this. Please help. I've created the following locale to my project below: /home/robin/myproject/locale/id/LC_MESSAGES/django.po /home/robin/myproject/locale/id/LC_MESSAGES/django.mo so I have a custom language which is suppose to be Indonesian indentified as

Re: i18n project custom locale won't stick

2008-07-20 Thread robin
r own project' section. Should I submit a ticket or something? Thank you for your prompt response, Robin On Jul 21, 4:51 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-07-20 at 13:02 -0700, robin wrote: > > I've spend 3 days on this. Please help. >

django deploymennts

2008-08-19 Thread Robin
Hello, I am trying to decide which tool should I use to deploy my django based application, and I have some candidates and want to know what are your opinion about this. My deployments will be in more than one server. First I though about Capistrano, but I don't want to install/learn another lan

Re: Random NoReverseMatch

2008-08-25 Thread Robin
Hello, i have the same exception and exactly as Julien explained in the dev server works fine ... and also works fine with fast_cgi, but I am using apache + mod_wsgi and it didn't work with the same problem: NoReverseMatch Has any of you any clue to this error ? thanks in advance, r On

NOT follow foreign key relation

2008-08-26 Thread robin
###MODELS.PY### class Body(models.Model): body=models.CharField(max_length=50,primary_key=True) #eg. sedan, hatchback def __unicode__(self): return unicode(self.body) class Car(models.Model): body=models.ForeignKey(Body) ###VIEWS.PY### def view_car(request,object_id): car=get_objec

Re: NOT follow foreign key relation

2008-08-26 Thread robin
Sorry about the confusion with the request.user, it's not meant to be there. body = {{ car.body_id }} is what i'm looking for. Thanks a lot for taking the time to help. Much appeciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: NOT follow foreign key relation

2008-08-26 Thread robin
Which way do you think would be faster? 1. Make Body charfield a primary key and call it with {{car.body_id}} (1 query only) OR 2. Let the primary key be an integer by default and call it with {{car.body}} (2 queries) OR 3. Same as 2 but do inner join first with select_related (1 query) Say ther

MySQLdb...Please Help?

2008-10-08 Thread Robin
I'm sure you've seen this many times. I've been digging for hours now trying to figure this out. I honestly have looked and tried many solutions before posting. I'm running an Intel iMac on OS X 10.5.5. I've got Django 1.0 installed and working (can import django from python). I've got MySQL

Re: MySQLdb...Please Help?

2008-10-08 Thread Robin
When I run the build with gcc 4.0 I get these errors...it continues, but I've included the first bits... >sudo python setup.py build running build running build_py copying MySQLdb/release.py -> build/lib.macosx-10.5-i386-2.5/MySQLdb running build_ext building '_mysql' extension gcc -fno-strict-al

Re: MySQLdb...Please Help?

2008-10-08 Thread Robin
n Oct 8, 10:02 pm, Robin <[EMAIL PROTECTED]> wrote: > When I run the build with gcc 4.0 I get these errors...it continues, > but I've included the first bits... > > >sudo python setup.py build > > running build > running build_py > copying MySQLdb/release.p

Re: problem with signals

2009-09-10 Thread Robin
Sorry, I just google for comparations between simple method (or override old ones) and signals and I found that signals are more generic but less "controled" and you can just loose the normal execution of the signal. What I don't understand is why I am just not getting executed any of my signals,

Cannot reverse inside urls.py

2009-04-03 Thread robin
l', 'extra_context':{ 'title': 'Add Item Complete', 'url': reverse('add_item_wizard'), } }, name='add_item_complete'), Is there no way? Thanks in advance, Robin --~--~-~--~~

Re: Cannot reverse inside urls.py

2009-04-03 Thread robin
By the way it will give the following error, if I do reverse in urls.py: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/servers/ basehttp.py", line 278, in run self.result = application(self.environ, self.start_response) File "/usr/lib/python2.5/si

Re: Cannot reverse inside urls.py

2009-04-05 Thread robin
made many of my apps less portable. I still need to account for reverse(edit_item) if i wish to have that in the add complete page. Anyway that's what I'm trying to do, making coding lazier. Further suggestions or no, thank you. Robin On Apr 3, 10:04 pm, Reiner wrote: > I'm not

Importing from many apps causing import conflicts?

2009-04-22 Thread robin
s import Number ###PROBLEM-### With the above setup, if i execute: python run.py, it should be fine. BUT the problem occurs the moment i change acc.models from: group=forms.ModelChoiceField(Group.objects.all()) #TO# group=forms.ModelChoiceField(Group.objects.filter(name='blah'))

Re: Importing from many apps causing import conflicts?

2009-04-22 Thread robin
1) #or any kind of filter will cause the following import error. File "/home/robin/test/toast/two/models.py", line 2, in     from numbers.models import Number ImportError: cannot import name Number On Apr 22, 9:02 pm, Christian Berg wrote: > Hi! > > Your Posting says: >     na

Re: Importing from many apps causing import conflicts?

2009-04-22 Thread robin
7;' ### IMPORT ERROR by running 'python run.py' ### File "/home/robin/test/toast/two/models.py", line 1, in from numbers.models import Number ImportError: cannot import name Number ### SOLUTIONS ### 1. Change filter(num=1) into all() OR 2. Remove import Number fro

ModelChoiceField choice_cache

2009-05-25 Thread robin
I was trying to find a way to get ModelChoiceFields to use an already cached Model, and I came across in django/forms/models.py , under class ModelChoiceField, a variable called: self.choice_cache=None class ModelChoiceIterator seems to be the only thing that plays with it, but with or without c

installing Django on Mac OS 10.6

2009-10-21 Thread robin
I have installed Django on my mac with OS 10.6. It installed just fine and I was setting up my first project. I then ran python manage.py syncdb as I am using MySQL, but I got the following errors: Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings)

Re: installing Django on Mac OS 10.6

2009-10-21 Thread robin
Daniel and Hector, Thank you very very much. I am off install the module. Robin On Oct 21, 12:29 pm, Hector Garcia wrote: > On the internets? > > http://docs.djangoproject.com/en/dev/ref/databases/#mysqldb > > Hector Garcia - Web developer, musicianhttp://nomadblue.com/ >

Form Validation - Redisplay With Error

2011-05-24 Thread Robin
I'm writing a basic login form using the Django built in authentication system, but my own login form. This may be a mistake, but it can't hurt to learn how to get it to work? :) I have this Django Form: class SignInForm(forms.Form): username = forms.CharField(label='User Name', max_length=3

Re: Form Validation - Redisplay With Error

2011-05-24 Thread Robin
Apologies...it seems I misunderstood clean_message(). It's not a method, but clean_* is something for each field. I'll continue my research, but would still love to hear from you all about custom login forms and how you handle them. On May 24, 8:48 pm, Robin wrote: > I'm wri

Re: Form Validation - Redisplay With Error

2011-05-25 Thread Robin
May 25, 1:02 am, bruno desthuilliers wrote: > On May 25, 4:48 am, Robin wrote: > > > I've tried to track down this information (new to Django and web dev) > > and I'm certainly not expecting a spoon-fed answer.  A nudge in the > > right direction would be most apprecia

Re: Form Validation - Redisplay With Error

2011-05-25 Thread Robin
I'm very comfortable with SQL and more traditional programming. Would you recommend some specific HTTP primer, or anything else for those making the transition to web dev? On May 25, 8:24 am, bruno desthuilliers wrote: > On May 25, 3:54 pm, Robin wrote: > > > Because that

@login_required & Redirect...best practice?

2011-05-27 Thread Robin
When I have a view that's @login_required -- and the user isn't logged in -- what's the best way to deal with the URL they wanted in the first place? Assuming they log in properly and I want to then redirect them on to where they intended to go in the first place...what's the best practice? I'm n

Re: Form Validation - Redisplay With Error

2011-05-27 Thread Robin
Thanks, Derek! Wikipedia makes good sense. On May 27, 1:14 am, Derek wrote: > On May 26, 1:07 am, Robin wrote:> I'm very > comfortable with SQL and more traditional programming.  Would > > you recommend some specific HTTP primer, or anything  else for those > > ma

Learning Django: Approach / Advice / Resources

2011-05-30 Thread Robin
I sure wish there was a book that kept pace with the changes and the miost recent version. Is the fact that there isn't much available a bad sign? Just jump in and adjust as I learn my lessons? Regards, Robin -- You received this message because you are subscribed to the Google Groups

Model 'Child' is inherited from 'Parent', trying to filter to get only Child results with Parent.objects.filter(...)

2011-05-31 Thread robin
t to change my Child model to use OneToOneField. So is there a better way? Thanks, Robin -- 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 grou

Re: Learning Django: Approach / Advice / Resources

2011-05-31 Thread Robin
el. I guess if I'm using the login view, it's will test for me. I sort of started with the whole auth system, then backed out of using the form and the view just to learn how it works on a basic level. And in browsing the code, I saw the test cookie functions and did some research. Than

Re: Model 'Child' is inherited from 'Parent', trying to filter to get only Child results with Parent.objects.filter(...)

2011-05-31 Thread robin
Shall I report the inability of using Parent.objects.filter(child__isnull=False) as a bug? -- 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

Re: Model 'Child' is inherited from 'Parent', trying to filter to get only Child results with Parent.objects.filter(...)

2011-06-01 Thread robin
lem with the 2 solutions above is that filtering with > > child__name__isnull looks hackish, and I don't want to change my Child > > model to use OneToOneField. > > > So is there a better way? > > > Thanks, > > Robin > > -- > Matías Aguirre -- You

Cleaned Data Different Access?

2011-06-01 Thread Robin
In a Form subclass, why do we have to use self.cleaned_date['fieldname'] in the clean_fieldname() method and self.cleaned_data.get("fieldname") in the clean() method for the form overall? In the clean_fieldname() method, we're looking up the cleaned python object / value in the cleaned_data dictio

Re: Cleaned Data Different Access?

2011-06-02 Thread Robin
ot have looked in the right spot for all the information. Thanks again, Daniel. Robin Ah! So, it the clean_fieldname method On Jun 2, 2:32 am, Daniel Roseman wrote: > What makes you think that? .get() is a dictionary method. It's just useful > when you're not sure the specif

mod_rewrite and {% url ... %}

2011-01-05 Thread Robin
failed: RewriteRule (.*) //$1 [PT] Alias // / Any help much appreciated. Thanks, Robin -- 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 g

Re: dba designer consulting needed

2014-08-15 Thread Robin
Mike I hope you find a local person who can do the job. If you need to get in touch, please do. Kind Regards Robin St.Clair PS I wouldn't mind an excuse to be in Melbourne first week in November On 15/08/2014 14:37, Mike Dewhirst wrote: Robin Thanks for responding ... I have a coup

Re: Feeling some serious timezone pain

2014-08-20 Thread Robin
GMT with the current time in Britain, after any adjustment for summer time. Robin St.Clair On 20/08/2014 13:32, Geoffrey S. Knauth wrote: |2014-08-30 16:00:00+00:00 GMT| |2014-08-30 12:00:00-04:00Toronto (Summer)| || ||This looks correct to me. Maybe you were expecting the timezone to be -05

Re: Django for in-house data

2013-12-09 Thread Robin
n. You can implement security, if required. Letting end users directly access the DB is quite wrong, especially if the DB is complex. In the latter case, many of the reports created will be wrong, and decisions will be made on misleading data. Robin St.Clair On 09/12/2013 09:01, Lachlan Musicman wr

clear a newforms error indicator

2008-11-24 Thread Robin Becker
n() del ef._errors['vericode'] but this looks fairly clunky. Is there a better way to clear errors or to indicate that something is not in error during rendering, but should be considered erroneous on submission? -- Robin Becker --~--~-~--~~~---~--~~ Yo

Re: Django newbie observation

2008-12-15 Thread Robin Jakobsson
I agree on the Shipping site. Let's start a project? Cheers, Robin On 13 Nov, 17:45, "thi.l...@gmail.com" wrote: > > You will find lots of excellent examples of Django projects [...] > > It is sometimes difficult to know what Django version each project was > b

enforcing uniqueness

2008-08-28 Thread Robin Becker
clude(id=self.id). filter(a=self.a,b=self.b).order_by('id')) if P: for p in P: self.merge(p) p.delete() super(Over, self).save() would this work? -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you ar

Re: fastCGI: always one server per site ?

2008-10-13 Thread Robin Becker
ady running so some kind of queue might be useful. Secondly you really ought to kill running jobs for which no query has been received recently. Finally you ought to limit the resources consumed by the background jobs to keep the server response time reasonably fa

Re: install django

2008-10-15 Thread robin nanola
i think you must be the root user to be able to install django.. On Thu, Oct 16, 2008 at 1:25 PM, limas <[EMAIL PROTECTED]> wrote: > > hai, > i want to install django in a local directory without the permission > of root in Mandriva linux. > please help meThe problem i suffered is could n

re-usable applications

2009-03-10 Thread Robin Becker
re are also other bits of configuration which widgets could request eg onload/onunload etc etc. For most apps there's no real problem in having a fixed resource location, but I can see cases when proper configuration is desirable. -- Robin Becker --~--~-~--~~~-

multiple projects shared database

2009-08-05 Thread Robin Becker
URLs pretty well. With the multiple django projects & 1 database I am worried there are some hidden problems waiting to come out and play. -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: multiple projects shared database

2009-08-06 Thread Robin Becker
Malcolm Tredinnick wrote: > On Wed, 2009-08-05 at 17:59 +0100, Robin Becker wrote: >> My boss wants to have two different django controlled websites with a common >> database. Is there a way to do this? >> >> We are already running multiple websites into a single dja

Re: multiple projects shared database

2009-08-06 Thread Robin Becker
being separate? > > Derek .. I don't think django allows multiple databases except via table name hacks and similar. -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users

field media api

2009-08-20 Thread Robin Becker
thout any attempt at sorting so I end up with some files included twice etc etc. Is there a way to hook the final rendering? -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Re: request.META['REMOTE_USER']

2009-10-14 Thread robin nanola
try request.user you get a key error coz there is no 'REMOTE_USER' key in META. On Wed, Oct 14, 2009 at 5:29 PM, luca72 wrote: > > Hello if i use request.META['REMOTE_USER'] i get key error, but if i > use 'REMOTE_HOST' not > can you tell me how to get the user that is authenticate > I use the

Re: newbie. need help in validation

2009-10-14 Thread robin nanola
try reading this http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-django-admin-page/ On Wed, Oct 14, 2009 at 5:34 PM, danin wrote: > > hi guys, >I am new to Django (started 2 weeks back). right now i am > designing one application having model- > class info(models.Mo

Re: request.META['REMOTE_USER']

2009-10-14 Thread robin nanola
OTE_USER'] has to give the same value. > > On 14 Ott, 11:34, robin nanola wrote: > > try request.user > > > > you get a key error coz there is no 'REMOTE_USER' key in META. > > > > On Wed, Oct 14, 2009 at 5:29 PM, luca72 wrote: > > > >

apache authentication with django+flip+fastcgi

2009-10-22 Thread Robin Becker
to get django to control static access in this manner. I know that I can start up a secondary version of my project and use it as a standalone fastcgi script to do what I need, but that requires me to control two servers when changes are made and seems a bit clunky. -- Robin Becker

weird template escaping

2010-12-03 Thread Robin Becker
so it looks as though something is being silly and doing the following 1) translate to utf8 ie 'Elegant, sophisticated, discover Egypt\xe2\x80\x99s local customs' 2) escaping \x99 as ™ (trademark char is ™ == ™) where should I start looking to locate the problem? -- Robin Becker --

Re: newbie question: @login_required, can't get it to work

2010-12-08 Thread robin nanola
on your settings.py you can just add LOGIN_URL = '/login/' On Thu, Dec 9, 2010 at 3:04 PM, Charlietuna wrote: > Hi All, > > I'm a newbie. I would like to use the @login_required decorator, but I > don't want to redirect to the standard default accounts/login. I would > like to redirect to '/log

Re: choices in model field error

2010-02-18 Thread robin nanola
u 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 > django-users+unsubscr...@googlegroups.com > . > For more

Re: cant see data with a Generic View

2010-02-18 Thread robin nanola
st to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- robin n. nanola systems analyst /

django authorization of apache

2007-06-28 Thread Robin Becker
again. Alternatively is there a way to do the reverse ie get django to use a database controlled by apache? -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: django authorization of apache

2007-06-28 Thread Robin Becker
Steven Armstrong wrote: > Robin Becker wrote on 06/28/07 16:13: >> I see from this documentation >> >> http://www.djangoproject.com/documentation/apache_auth/#configuring-apache >> >> that it is conceptually possible to configure apache authorization using

Re: django authorization of apache

2007-06-29 Thread Robin Becker
(g.name) if G: #fail if some required groups remain return apache.HTTP_UNAUTHORIZED if permission_name: if user.has_perm(permission_name): return apache.OK else: return apache.HTTP_UNAUTHORIZED else: return apache.OK else:

Re: Calling different Django sites from the same external application

2007-07-11 Thread Robin Becker
thonPath "['/usr/tmp/djcodeCODE']+sys.path" SetHandler python-program SetEnv DJANGO_SETTINGS_MODULE djcode.app.test_settings PythonHandler django.core.handlers.modpython #PythonDebug On PythonInterpreter test_app -- Robin Becker --~--~-~--~~--

Re: Using **?

2007-08-07 Thread Robin Becker
10 11 12 30 31 {'c0': 50} theer's an equivalent concept for positional arguments that uses a single * -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

non unicode

2007-08-29 Thread Robin Becker
le to disable the unicode conversion? -- Robin Becker --~--~-~--~~~---~--~~ 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 t

Re: non unicode

2007-08-31 Thread Robin Becker
Malcolm Tredinnick wrote: > On Wed, 2007-08-29 at 14:58 +0100, Robin Becker wrote: >> Hi, we're having some troubles with latest django that are caused by the >> switch >> to unicode string output. In particular since we were already carefully >> handling >&

fastcgi problems

2008-01-21 Thread Robin Becker
uot;/...fcgi", referer: so I'm guessing that the apache end of the fastcgi pipe is timing out. Is there a way for the django/flup side to signal that the request is not dead. I find it a bit strange that the django side doesn't seem to care about whether the apac

Re: shared state between requests and FastCGI

2008-02-14 Thread Robin Becker
le generator then why not pass the add selection problem off to a service on your server ie put the whole problem into a singleton server with a fast response using say XMLRPC if all this has to do is compute a single draw from your function it should be fairly fast. -- Robin Becker --~--~-

apache/fastcgi/django files limit problem

2008-03-07 Thread Robin Becker
ving reached kern.maxfiles. Has anyone got any experience with this kind of setup and how to decide what the fault really is. In particular since the web can always out request any particular limit is there some way to make apache start refusing gracefully before things go critical. --

selenium versus django app

2008-03-28 Thread Robin Becker
info related to some kind of string functions eg camelize, gsub etc etc. Can anybody tell me what's going on? -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

efficiency of apache+mod_fastcgi --> django+flup

2008-05-02 Thread Robin Becker
ing a forking flup) to respond to the requests. I think there are no bottlenecks here, but I'm not sure who's responsible for scaling up and down as requests come in. Can anybody enlighten me? -- Robin Becker --~--~-~--~~~---~--~~ You received this message

IE6 problem

2008-05-12 Thread Robin Becker
seems to make the site work (up to and including allowing unrestricted cookies in the internet settings). I'm using IE7/Firefox on the same site and that has no problems at all. I'm wondering if my test machine (which has both IE7/6 is the issue). Can anyone help? -- Ro

partially edit an object

2008-05-15 Thread Robin Becker
of fields that were to be left alone or something as easy. Is there no easy way to do these simple extensions; if not what's the 'right' way to do this in the various contexts? -- Robin Becker --~--~-~--~~~---~--~~ You received this message because

Re: partially edit an object

2008-05-16 Thread Robin Becker
no doubt digest in due time; thanks. -- Robin Becker --~--~-~--~~~---~--~~ 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

global name '_get_deleted_objects' is not defined

2007-02-18 Thread Robin Percy
Has anyone else run into the following error when deleting objects using the newforms-admin branch? Exception Value: global name '_get_deleted_objects' is not defined Exception Location: /usr/lib/python2.4/site-packages/django/contrib/admin/options.py in delete_view, line 466 Obviously _get_delet

Re: building a menu dynamically based on user info

2007-04-29 Thread Robin Percy
It sounds like you're trying to access the user as an attribute rather than a key in your tag renderer. Make sure you're using the syntax context['user'] as opposed to context.user. - Robin On 4/29/07, Marco Gabriel <[EMAIL PROTECTED]> wrote: > > > Hi everyo

Re: building a menu dynamically based on user info

2007-04-29 Thread Robin Percy
) register.tag('test_tag',test_tag) - Robin On 4/29/07, Marco Gabriel <[EMAIL PROTECTED]> wrote: > > > Robin Percy schrieb: > > It sounds like you're trying to access the user as an attribute rather > > than a key in your tag renderer. Make sure you're

Re: User and generic views

2007-04-29 Thread Robin Percy
c view? > You could create a wrapper view around the generic view as described in the "Extending Generic Views" section here http://www.djangobook.com/en/beta/chapter09/ and use the login_required decorator as described here: http://www.djangoproject.com/documentation/authentication/

apache authorization with django

2007-09-18 Thread Robin Becker
is doesn't seem impossible. -- Robin Becker --~--~-~--~~~---~--~~ 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 th

Re: apache authorization with django

2007-09-19 Thread Robin Becker
Graham Dumpleton wrote: > On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote: >> I find I can use django users and groups to authorize apache locations and >> directories using a modified version of modpython.py(I just hacked it to >> check >> for re

Re: apache authorization with django

2007-09-19 Thread Robin Becker
just need to know what you are > doing. ;-) > that's what the django approach is doing :) -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: apache authorization with django

2007-09-20 Thread Robin Becker
ly a problem of the apache api and I'm not familiar enough with 2.2 to know if you can get your auth requests handled via an existing location. -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: apache authorization with django

2007-09-20 Thread Robin Becker
t a shared app with a virtual host address. Having a common front end is a problem, as if something goes badly awry then possibly client a sees something client b has entered etc etc. The mod_python commonality is just another problem for security auditors. -- Robin Becker --~--~-~--

middleware introspection

2007-10-05 Thread Robin Becker
0)-->V1 Now my question can the middleware determine the template used by V0 so that it can be used automatically to generate V2? -- Robin Becker --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

foreign key search

2007-12-03 Thread Robin Becker
27;name') but that failed to search at all. My boss suggested that the documentation 'foreign_key__related_fieldname' should be replaced by 'a__id' and that seems to locate some rows, but the listing page doesn't display. I looked in vain for some simple examples,

Re: foreign key search

2007-12-03 Thread Robin Becker
Karen Tracey wrote: > On 12/3/07, Robin Becker <[EMAIL PROTECTED]> wrote: >> >> I have a simple model with a foreign key relation >> >> class A(models.Model): >> id = models.CharField('ABCDEFG', .) > > > Do you real

Silly behaviour of exception output

2006-12-28 Thread Robin Becker
_method(request, response) is outside of any try except block so cannot have a nice traceback. A colleague is trying to use a middleware for logging successes and errors. However, it seems that using process_exception only sees errors in the main callback and not any other middleware methods.

Re: Silly behaviour of exception output

2006-12-28 Thread Robin Becker
Jeremy Dunck wrote: On 12/28/06, Robin Becker <[EMAIL PROTECTED]> wrote: Our team has been using Django for about one year. I find it difficult to debug with Django despite the attempt at friendly traceback pages. It seems Django has failed to take advantage of the tracebacks th

Re: Silly behaviour of exception output

2006-12-28 Thread Robin Becker
. . If you can't bring yourself to make the tickets, please just make patches, and I'll do the dirty work of the ticket itself. no worries, in trac mode I added the patch then the patch and finally changed the summary to s

Re: Silly behaviour of exception output

2006-12-28 Thread Robin Becker
Jeremy Dunck wrote: On 12/28/06, Robin Becker <[EMAIL PROTECTED]> wrote: ... no worries, in trac mode I added the patch then the patch and finally changed the summary to start with [patch]. -- And the uncaught exceptions? I'll do another one tomorrow. -- R

multiple projects one server

2007-01-04 Thread Robin Becker
ed a worker pool for each virtual host. Any ideas welcome. -- Robin Becker --~--~-~--~~~---~--~~ 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: multiple projects one server

2007-01-05 Thread Robin Becker
stcgi_pass blah; } } server { listen 80; server_name foo.com; location / { #insert FCGI params stuff here ... ## fastcgi_pass foo; } } ... -- Robin Becker --~--~-~--~~~---~--~~ You received this mess

Re: multiple projects one server

2007-01-05 Thread Robin Becker
David Zhou wrote: On Jan 5, 2007, at 5:00 AM, Robin Becker wrote: so these define the server used by the http stuff below, do I understand it correctly that the fcgi processes are setup to listen on the above ports? Those are unix sockets, but correct. The fcgi processes are listen

dynamically changing URLS

2007-01-08 Thread Robin Becker
Not wishing to fix all of our views (in particular the contrib/admin stuff) I tried 2 and had some success. I can get a resolver which either points to the original value or a generic road up page. Have others tried anything similar? -- Robin Becker

Re: dynamically changing URLS

2007-01-08 Thread Robin Becker
James Bennett wrote: On 1/8/07, Robin Becker <[EMAIL PROTECTED]> wrote: Is there any obvious way to get the dispatch mechanism to behave differently under specific circumstances? Not too long ago, there was some new functionality checked in to trunk which allows you to tell Django to

syncdb without shell access

2006-08-09 Thread Robin Gruyters
Hi ya, My hosting provider doesn't give shell access, so I can't execute like "syncdb", "startapp", "startproject", etc. Is there another way to do this? (e.g. by creating a runsync.py script?! (or something?)) Regards, Robin --~--~-~--~~--

Re: syncdb without shell access

2006-08-10 Thread Robin Gruyters
On Wed, Aug 09, 2006 at 08:58:54PM -0500, Deryck Hodge wrote: > > On 8/9/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On 10-Aug-06, at 12:43 AM, Robin Gruyters wrote: > > > > > My hosting provider doesn't give shell access, so I can&#x

Re: Schema Updates

2005-08-06 Thread Robin Munn
t handle schema updates at all yet; at the moment, you have to handle them yourself. The problem is being worked on, though: see http://code.djangoproject.com/ticket/12. If you have any ideas to contribute, that would be the appropriate place to add them. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

Re: mod_python error

2005-08-15 Thread Robin Munn
red hosting environment... :-( That's when you start looking at solutions like FastCGI. More information on various different server arrangements is over at http://code.djangoproject.com/wiki/ServerArrangements if you're interested. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

Re: {% ifnotequal %} string compare

2005-08-17 Thread Robin Munn
t; Am I misunderstanding this tag? I think the ifnotequal tag is case-sensitive. Try "core" instead of "Core". -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

Re: Adding Record Problem

2005-08-19 Thread Robin Munn
nt to specify the primary key yourself each time. As others have mentioned, if you really want an auto-incrementing field, the best solution is to just not define any primary key at all; then Django will create an AutoField named "id" for you, and you won't have to worry about getting its definition right. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

Re: Generic Views - TemplateDoesNotExist Error

2005-08-21 Thread Robin Munn
cute bit on the directory. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

Re: how to czeck a field

2005-08-28 Thread Robin Munn
id-way down the page of http://www.djangoproject.com/documentation/templates/ for more details. -- Robin Munn [EMAIL PROTECTED] GPG key 0xD6497014

  1   2   3   >