Re: Partner

2021-06-23 Thread Arthur Obo Nwakaji
Hello, I am interested and love to know more about this opportunity. I am well experienced in Django and DRF. On Wed, 23 Jun 2021, 4:19 PM ericki...@gmail.com hello guys am looking for any one good at Django and DRF i have couple of > personal projects which needs this tech spec am not good at

Re: Making a rather small web app, is Django right for it?

2021-05-25 Thread Arthur Obo Nwakaji
Then you can go with Django then. On Tue, 25 May 2021, 2:12 PM Devin Prater It's more of a nice-to-have for work. But yeah, it'll not be a very large > project. > > Devin Prater > > Technical Assistant > > > 256 761-3423 > > [image: Alabama Institute for Deaf and Blind] > > P.O. Box 698 | 1105

Re: Making a rather small web app, is Django right for it?

2021-05-25 Thread Arthur Obo Nwakaji
So right, flask is easier and help you get job done faster. But if you want to build a more scalable application for an enterprise Django is your friend. On Tue, 25 May 2021, 6:55 AM Antonis Christofides < anto...@antonischristofides.com wrote: > It's hard to say. While Django *is* suitable,

Re: Making a rather small web app, is Django right for it?

2021-05-24 Thread Arthur Obo Nwakaji
Hello, django is an awesome tool in the hands of a great developer who know how to use it. You're on the right track because django is great for building scalable web applications and restful APIs. I am always ready to do my best to help as I can in the django community. If you need any assistance

Retrieving csrftoken value with CSRF_USE_SESSIONS enabled

2020-10-01 Thread Arthur Rio
instead? ``` const csrftoken = “{{ csrf_token }}"; ``` Is there some other security benefits I’m not thinking of? Regards Arthur -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Study and project partner(s) needed

2020-02-14 Thread Samuel Arthur
. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACRqaeXWZJ3Mk4-06gURT2rpNOvcpmfrTC%3DQDSpFZJ5pufLEWg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACRqaeXWZJ3Mk4-06gURT2rpNOvcpmfrTC%3DQDSpFZJ5pufLEWg%40mail.gmail.com?utm_medium=ema

Re: Study and project partner(s) needed

2020-02-14 Thread Samuel Arthur
Hello there, I'm interested On Friday, February 14, 2020 at 4:16:13 PM UTC, Akorede Habeebullah wrote: > > Hi guys, > > I've been learning Django on a solo for a while now and I'm really in need > of a Programmer friend/partner who we can always learn together, build > projects together.

Re: ElementTree problem saving images

2019-10-24 Thread Arthur Antoine
The image urls are being set to None on every iteration where the id doesn't match. Try setting all of the urls to None before the loop, then remove the else blocks. On Thursday, October 24, 2019 at 11:28:00 AM UTC-4, Nuno Vieira wrote: > > Hi, > > i receive an xml file and i am parsing the

need to upgrade django1.4.5-->django1.5, but apt-get install django tells me i'm running latest version

2015-06-01 Thread arthur sherman
i get the following errors in the apache2 error.log: VersionConflict: (Django 1.4.5 (/usr/lib/python2.7/dist-packages), Requirement.parse('Django>=1.5')) but when i attempt upgradinging django apt-get install reports that i'm at the latest version: apt-get install python-django Reading

how to initiate an interactive python script from an html cgi?

2015-03-24 Thread arthur sherman
i have a python script which currently runs in a shell cli. i'd like to initiate this script from a web page. the closest i got was to have the output displayed on the webpage (w/o linefeeds), but it crashed when requesting input via raw_input(). i simply did 'exec python-script-name' from the

Re: Config: DB or git?

2014-09-30 Thread Arthur Alvim
L_PORT', default=25, cast=int) -- Atenciosamente - Arthur Alvim [ arth.al...@gmail.com ] IFPE - Tecnólogo em Análise e Desenvolvimento de Sistemas UFPE CIn - Mestre em Ciência da Computação "Partilha os teus conhecimentos. É a forma de conseguires a imortalidade." Dalai Lama 2014-09-30

Re: django-socketio fails - even in example project - appreciate a clue

2014-08-03 Thread Arthur Alvim
I was trying to do some example too but using gevent+socket.io . -- Atenciosamente - Arthur Alvim [ arth.al...@gmail.com ] IFPE - Tecnólogo em Análise e Desenvolvimento de Sistemas UFPE CIn - Mestre em Ciência da Computação "Partilha os teus conhecimentos. É a forma de conseg

Re: Django GenericRelation not working

2014-01-03 Thread arthur . muchir
ect = self) generic_link.save() generic_fk = generic_link.id But I think I will have a problem with the save method, Media have a FK to GenericMedia but GenericMedia have to Media, so how could I adapt ? Thanks ! Le jeudi 2 janvier 2014 22:09:22 UTC+1, arthur...@gmail.com a écrit :

Django GenericRelation not working

2014-01-02 Thread arthur . muchir
I have the following model in my app, using the content-type django framework in version 1.6.1 : class GenericMedia(models.Model): limit = models.Q(model = 'Image') | models.Q(model = 'Video') | models.Q(model = 'Other') content_type= models.ForeignKey(ContentType,

Re: Query friends of an user

2013-12-17 Thread Arthur Silva
Thanks for your reply. Your suggestion works but I need the friends (User models) of a given user (User model) in this case. This join (friends of an user) is also used at several other places to get stuff (comments for example) made by friends of an user. -- Arthur Pires Ribeiro Silva

Query friends of an user

2013-12-17 Thread Arthur Silva
I want to query the friends of an User but I'm struggling to get the correct query. Models: class User(AbstractUser, TimestampedModel, SerializeMixin): city = models.CharField(max_length=60, blank=True) picture = models.URLField(blank=True) cover_picture =

Re: Django ORM generating the wrong query for recent friends of an user

2013-10-16 Thread Arthur Silva
4, 2013 10:50:54 AM UTC-3, Arthur Silva wrote: > > Here're my models > > > class PingUser(AbstractUser): > friends = models.ManyToManyField("self", through="Friendship", > symmetrical=False) > > class Friendship(Ti

Django ORM generating the wrong query for recent friends of an user

2013-09-24 Thread Arthur Silva
Here're my models class PingUser(AbstractUser): friends = models.ManyToManyField("self", through="Friendship", symmetrical=False) class Friendship(TimestampedModel, SerializeMixin): STATUS_CHOICES = ( ("pending", "Pending"), ("friend",

Time zone support enabled in Django 1.4, yet "Django does not support timezone-aware times"

2012-05-21 Thread Arthur
Hello, I recently upgraded one of my machines to Django 1.4 to patch a bug related to the use of PostGIS 9.1. I read the documentation on the new support for time zones and added USE_TZ=True to my settings.py file. Nonetheless, when I attempt to load data into my PostGIS database in one of the

Formwizard and manytomany

2011-11-25 Thread Arthur Fortes
Hello, I'm new in Django and I got a problem with a formwizard. My manytomany dont works with formwizard. When I try appears this error : 'areaes' is an invalid keyword argument for this function. What I should do? models.py >areaes = models.ManyToManyField(areavaga,verbose_name='Area da

Re: Python Weekly

2011-09-26 Thread Arthur Gouveia
Nice one. I'm in. -- Arthur Gouveia Web Developer http://arthurgouveia.com On Mon, Sep 26, 2011 at 1:46 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Sample looks quite interesting - subscribed. > > > On Mon, Sep 26, 2011

Following "first app" tutorial -- admin site can't find css files

2009-12-06 Thread Arthur
, Django tried these URL patterns, in this order: ^admin/ The current URL, media/css/base.css, didn't match any of these. Can anyone help me with this problem? I really don't understand how the ADMIN_MEDIA_PREFIX interacts with the urlconf settings. Thank you, Arthur -- You

Re: Using variables as keywords in QuerySet

2009-10-21 Thread Arthur Metasov
2009/10/21 valler <180...@gmail.com>: > > Hello. I want to know, if something like that possible: >  MyModel.objects.filter(name__contains='foo',status__exact='bar') => > It's OK. > > But I want to use dynamic keyword generation, like that: >  a='name' >  b='status' >  

Re: Apply decorator to view functions in third-party apps?

2009-10-13 Thread Arthur Metasov
2009/10/13, Nan : > > Making request global definitely sounds like a potentially fragile > solution. I noticed that the template loaders take a directory list > argument, but it doesn't seem to ever get passed in -- it's not even > an argument for loader.get_template() or

Re: authorization

2009-10-13 Thread Arthur Metasov
2009/10/13 elminio > > Hi, > > By admin I can choose what users can do with model objects. And what > about certain pages. Do I have to write if in everyone view method (to > check is current user may access given view ? > > Or is there any built in tool that makes it

Re: Uploading an Image.

2009-10-13 Thread Arthur Metasov
2009/10/13 Chirolo <wist...@gmail.com> > > Hi Arthur. > I'm not so experience with linux. > I can get to the directories and files of apparmor, but how do I > stopped. > Thank you. > Something like this > u...@host$ sudo /etc/init.d/apparmor stop &g

Re: Apply decorator to view functions in third-party apps?

2009-10-13 Thread Arthur Metasov
e().theme > theme_template = theme.adjust_theme_path(template) > t = loader.select_template((template, theme_template)) > return HttpResponse(t.render(RequestContext(request, context))) > > A custom template loader would be a really neat solution, but I can't > see any way to pass

Re: how to get back to a view requiring login

2009-10-12 Thread Arthur Metasov
as for me, @login_required decorator redirects to http://localhost/accounts/login/?next=/path/ if you use generic view to display login page it will automatically redirect user to /path/ after login. 2009/10/12 Sergio A. > > I've three views each with different URL.

Re: __unicode__(self) doesn't work

2009-10-12 Thread Arthur Metasov
2009/10/12 Denis Bahati > Hi there i have the problem with unicode function it doesn't give me any > changes. the poll list is displayed as Poll object and does doesn't give me > error if i write the models.py like this:from django.db import models > import datetime > > class

Re: Apply decorator to view functions in third-party apps?

2009-10-12 Thread Arthur Metasov
You should carefully look at the code of django template loaders. What do you mean? Dou you want template paths to be stored in the database and dinamically change? Or do you want to use 3rd-party app but change template dirs it is looking for? 2009/10/12 ringemup > > I need

Re: sorl thumbnail error

2009-10-11 Thread Arthur Metasov
2009/10/12 Malcolm MacKinnon > Hi, > I'm getting error messages with sorl thumbnail. I'm simply trying to show > thumbnail images on my template. I select a number of images in my views, > and iterate over my selection. Note that all my images are a certain size, > and I'm

Re: Uploading an Image.

2009-10-11 Thread Arthur Metasov
If you use distribution with apparmor try to stop it (/etc/init.d/apparmor). If the problem disappears, find apparmor config for apache and add there /home/Djangoprojects/ rw, /home/Djangoprojects/** rw, /home/Djangoprojects/imageupload/** rw, 2009/10/11 Chirolo > > Hi

Free Magazines

2007-10-02 Thread Arthur
One Year Free Magazine Subscription, please visit http://www.afmagazines.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Unicode question

2007-08-20 Thread arthur debert
ode object: "cur_month.lower()" instead of "str.lower(cur_month)" Cheers Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: Using Django to generate Flash/Flex content

2007-08-15 Thread arthur debert
no idea how stable or buggy that is, but it might be interesting. Cheers Arthur On Aug 15, 8:00 am, Patrick Lauber <[EMAIL PROTECTED]> wrote: > I work as a Flash Developer and Django Programmer. > > You don't and you shouldn't compile flash on a request basis. > You should make yo

Re: Using Django to generate Flash/Flex content

2007-08-14 Thread arthur debert
t I am not holding my breath for it. If you think most data send to flash can easily be xml, JSON on html (variables to the embed tag) django is well suited for feeding flash content. Cheers Arthur --~--~-~--~~~---~--~~ You received this message because you ar

newforms: bound forms and prefix parameters

2007-07-14 Thread arthur debert
f = forms.form_for_instance(request.user)() the form renders correctly. (the html inputs show the right value) Is there a catch here? I am sure this works, since the newforms-admin must be using prefix to avoid name clashes when retrieving data from the form. Thanks, Arthur --~--~-~--~~--

Re: newforms: clean way to customize a widget's label?

2007-07-12 Thread arthur debert
Hi Leif. Thanks for the pointer. This certainly looks userful, but if I understand this right it makes easier to link to external js and css, not customize the output of the tag. Cheers Arthur On Jul 9, 10:06 pm, leifbyron <[EMAIL PROTECTED]> wrote: > Arthur, > > You'l

Re: Hosting for Django

2007-06-15 Thread arthur debert
ys who made django, so > I wonder what they'd be telling them about "the right way". I am curious to see what Media Temple will come up with as well. Cheers. Arthur On Jun 15, 7:53 am, Christian M Hoeppner <[EMAIL PROTECTED]> wrote: > Hi there! > > This is a me

Re: Can someone explain custom managers to me? (model methods vs. custom mgr. methods)

2007-06-04 Thread arthur debert
or example). Django-tagging app has some well though uses of manager: http://django-tagging.googlecode.com/svn/trunk/tagging/managers.py Cheers, Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Free Handphone Optional

2007-04-27 Thread Arthur
See www.javagames.co.nr Cool ! --~--~-~--~~~---~--~~ 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

RequiredIfOtherFieldEquals validator and FileField

2007-02-28 Thread Arthur Noel
can make a validator as a model method so I have access to the instance or is there another way around this? Thanks for any help, Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Calling a view from another view in the same app?

2006-09-05 Thread arthur debert
). The fix for this is to put the 'viajes' method after 'viaje' on your file. cheers arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: trouble getting make-messages.py to generate .po files

2006-09-05 Thread arthur debert
Ok, got this one figured out, posting here if someone hits the same wall. The pre-installed gettext on the mac is version .10 something. gettext support for python is >.12 so you must install a newer version. installed it from darwin ports and it worked like a charm. cheers art

trouble getting make-messages.py to generate .po files

2006-09-04 Thread arthur debert
Hi Folks. I am trying to set up my first django i18n site, and when running make-messages.py on the command line I get the following error: 'errors happened while running xgettext on __init__.py language `Python' unknown' any ideas? thanks, arthur p.s.: I am running make-messages on my

Re: drag & drop for admin-interface

2006-08-02 Thread arthur debert
ay, also not good. having that in mind, it´d > probably be better to have a different page for reordering (see above). > How are you handling events? Maybe if you use event bubbling you can check if the click came from the details link and suppress dragging in that case? Thanks for getting t

Re: Displaying thumbnails in the admin interface

2006-07-19 Thread arthur debert
You should also take a look at nesh's excellent ImageWIthThumbnailField: http://djangoutils.python-hosting.com/wiki/Thumbnails cheers arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

Re: Perspective on building a community blog in a short timeframe

2006-07-14 Thread arthur debert
/thread/cc39700cc7147ed9/0675e2d713071f39?q=limodou=3#0675e2d713071f39 cheers Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Views and 404 - render_to_response

2006-07-11 Thread arthur debert
Bob wrote: > What would it be if I want to get my item from the database by the slug? this depends on the moel's ttribute name (the one that's a slug). If you can post you model's code, I can assiste further... cheers --~--~-~--~~~---~--~~ You received this

Re: Views and 404 - render_to_response

2006-07-11 Thread arthur debert
nly happen if you've overriden django's pk) if your model has a field called 'slug' you must match it against that: p = get_object_or_404(Myclass, slug=slug) hope that helps arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: book recommendations?

2006-07-10 Thread arthur debert
also, simon willison's javascript introduction is excellent: http://flickr.com/photos/simon/sets/72057594077197868/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: file upload with flash 8 uploader

2006-07-07 Thread arthur debert
, you might have issues (since most of them hava a memory limit your processes can use). patch 2070 is suppouse to work around this, but I couldn't get it working here. cheers arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: ForeignKey and Admin

2006-07-06 Thread arthur debert
What you are looking for is the edit_inline option for the event field: class EventDate(models.Model): ... event = models.ForeignKey(Event, edit_inline=True) more info here: http://www.djangoproject.com/documentation/tutorial2/#adding-related-objects [] arthur

Re: Django t-shirts: your ideas wanted!

2006-06-28 Thread arthur debert
"A Django Model" ... --~--~-~--~~~---~--~~ 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 [EMAIL

Re: Sniffing around django

2006-06-27 Thread arthur debert
ers, arthur --~--~-~--~~~---~--~~ 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 [EMAIL PROTEC

Re: Model vanishes from Admin

2006-06-24 Thread arthur debert
Hi Russel. Thanks for the patch. I am sure this one will save newbies a few hours of starting blankly at the screen. cheers Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Model vanishes from Admin

2006-06-23 Thread arthur debert
Hi Steven. this one got me stuck for hours (grin). if your INSTALLED_APPS is right and your admin inner class too, you probably have an error on an import on your model class. fire up the shell on your server setup. can you import your model module?

Re: Can a custom field have two database columns?

2006-06-23 Thread arthur debert
be parsed and their names would vary (and again, on a next app, would have to changes names again...) thanks, arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Can a custom field have two database columns?

2006-06-23 Thread arthur debert
, Arthur --~--~-~--~~~---~--~~ 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 [EMAIL

Re: Photo gallery

2006-06-23 Thread arthur debert
Hi Guillermo. I haven't looked at those galleries but if you are going to code some of it, take a look at nesh's ImageWithThumbnail[1] field and related utilities. You might reduce the ammount of biolerplate code greatly. cheers arthur [1] http://djangoutils.python-hosting.com/wiki/Thumbnails

GenericForeignKey in admin

2006-06-22 Thread arthur debert
I've been playig with GenericForeignKey and they are great. One question though, they do not show up on the admin app. For example on the object that should be 'tagged', I would like to edit tags inline. Is thart possible at all? thanks, arthur

Re: Relations accros multiple apps

2006-06-16 Thread arthur debert
.blog). in this case you can find out where the app lives : from django.db.models.loading import get_app blog = get_app('blog') from blog.models import Blog cheers arthur > -- > Fabien SCHWOB > _ > Derrière chaque bogue, il y a

Re: Creating a root object for a many-to-one relationship

2006-06-10 Thread arthur debert
raise raise "bad, root node already exists" super(Node, self).save() (or maybe implement a custom manager for this?) arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Re: one to one relationship and file upload issue

2006-06-08 Thread arthur debert
Could this be it http://code.djangoproject.com/ticket/572 or http://code.djangoproject.com/ticket/1584 ? me thinks this was fixed recently. => http://code.djangoproject.com/changeset/3002 are you running an up to date svn version? see if that helps

Re: one to one relationship and file upload issue

2006-06-08 Thread arthur debert
Hi james, regarding: > when I upload a file (a 10+MB mp3) on my local machine, it > takes quite a while and pegs the CPU. Is this expected and is this > going to be the behavior when I put it in production under fastcgi? django keeps the whole upload in memory. this has been discussed a few

Re: Weird behaviour

2006-06-07 Thread arthur debert
Hi Elver. This is a feature. This behaviour depends on wheter you want yor sessions to expire and when. More details in the docs: http://www.djangoproject.com/documentation/sessions/#browser-length-sessions-vs-persistent-sessions arthur

Re: Save method called twice on override?

2006-06-05 Thread arthur debert
Hi Alloy. Yes, it's a bug. more details here: http://code.djangoproject.com/ticket/639 basically you have to check for self.imatge != '' before doing anything with the file. cheers, arthur --~--~-~--~~~---~--~~ You received this message because you

Re: Django svn over https?

2006-05-28 Thread Arthur
extension_methods REPORT MERGE MKACTIVITY CHECKOUT to your squid.conf file. But I don't use squid, so check that first. Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: Tagging app

2006-05-25 Thread arthur debert
pluggable / easily distributable with tagging working. thanks, arthur ps: how is the GenericForeignKey going to work? will it be imported from the tagging app's package, or will it go into trunk? --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Problems with ForeignKey in magic-removal

2006-05-15 Thread arthur debert
Hi beewee, __repr__ has been replaced by __str__ . this is more of a return to python conventions than anything. try changing your __repr__ methods to __str__ ones. more on this here:

memory error on lighttp deployment (file upload)

2006-05-12 Thread arthur debert
stcgi.c.2851) backend died, we disable it for a 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 any input on this would be very welcome. thanks, arthur --~--~-~--~~~---~--~~ You received this message because you are s

Re: admin not *seeing* installed app

2006-05-12 Thread arthur debert
Hi Doulgas. It's not db related. Somehow my fcgi script was setting the DJANGO_SETTINGS... env variable on the wrong path. Thanks a lot anyways, arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

admin not *seeing* installed app

2006-05-11 Thread arthur debert
Hi folks. I've just ran into a small glitch when moving an app to a new server. My application is "missing" from the admin main view. Everything is installed correctly. I can mange.py shell and work on my models and my data interactively (I've moved the db as well). the application's models do

Re: OpenID

2006-05-11 Thread arthur debert
Hi Alan. have you tried this one ? http://code.djangoproject.com/wiki/CookBookShortcutsOpenIDAuthentication (it's about a month old, but I haven't used it my self) cheers, arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: save() called 2 times.

2006-05-05 Thread arthur debert
yes this is a known bug. see ticket 639 http://code.djangoproject.com/ticket/639 currently I'm using an ugly work around such as def save(self): if self.imagefield : #do whetever, files does exist... also this seems to cause problems withe DateFields with auto_now...

Re: syncdb

2006-05-05 Thread arthur debert
yes, syncdb is for current trunk (post magic removal). please notice that if you're using 0.91, you can use the old documentation from here: http://www.djangoproject.com/documentation/0_91/ but if you're just getting started updating to the dev version is your best bet. cheers arthur

Re: list_filter not working properly?

2006-05-05 Thread arthur debert
yes, same thing here. strangely enough, I have a model with a foreign key acting as a list_fillter and it's fine. another model (same app) list filters wont't work (foreign key or not) . this was working a little while ago. still looking into it...

Re: Slow initial startup on Django project

2006-04-21 Thread arthur debert
Oh My! my bad. yes that should read.. " are not going to achieve *great* performance on DREAMHOST." I just meant to say that dreamhost has nice price / feature ration but it's just a little unreliable to host a *critical* site on it. Isn't it great that you could just read through my mistake

Re: Slow initial startup on Django project

2006-04-21 Thread arthur debert
list, quite a few topics bring this up. It seems to depend a little in which server you are (I am on pound, and haven't had any issues). But at any rate you are not going to achieve *great* performance on django. hope that helps, arthur --~--~-~--~~~---~--~~ You rece

Re: sinjan

2006-04-17 Thread arthur debert
just a quick extra on this one. The documentation on the admin site (link at top right, must have doc utils installed for this to work) is also available on the magic-removal branch and for newbies and people doing the transition from trunk t's pretty useful. cheers arthur

Re: Ecommerce & Django

2006-04-14 Thread arthur debert
I like th idea of usign jazz musicians' names: "monk"! --~--~-~--~~~---~--~~ 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

Re: Ecommerce & Django

2006-04-14 Thread arthur debert
another thing that would be nice is a "downloadable type" of product where the order relates to a download. of course, this could get pretty complex if you add in things like serial numbers, versions, etc...but we can start simple.I (personally) would like this, and I guess quite a few of the

Re: Importing external modules/classes

2006-04-13 Thread arthur debert
Hi Cary. that depends if you're using magic-removal or trunk. On the m-r branch there are no "magic" modules, whatever is on your path can be imported as usual. if you're using trunk, you must import inside your models methods, or user module_constants (

Re: Ecommerce & Django

2006-04-13 Thread arthur debert
"Setup a free python project on python-hosting.com" +1 on this one. when getting started we better focus on the coding right away, and python hosting's capabilities (svn + trac ) setup with no fuss will be very helpfull (it seems). " Any brilliant ideas?" not really... djell, djuy , djart

[offtopic] question on django naming choices for models relationships

2006-04-13 Thread arthur debert
Ok. This one is more of a "philosophy" question on django naming from someone who's learning django, webdev and databases at the same time. If I understand right, one of django's aim at the ORM level is to abstract the sql level, including naming. This makes a lot of sense, and when you see :

Re: Ecommerce & Django

2006-04-13 Thread arthur debert
hi folks... am I all for it. I've got no experience on e-commerce but there's a few things (I guess) I may help with... I guess this would be agreat project... I just suppose some "liberal licensing" would be nice (such as BSD or the like)... che

Re: Using _pre_delete() to stop execution

2006-04-11 Thread arthur debert
Hi Glenn. the thing is, if there's anything in django's knowledge to avoid the save / delete it DOES raise an error. (such as trying to delete an non existant object or trying to save a model that does not pass validation). my guess here is if you need anything else in you logic that django

Re: Using _pre_delete() to stop execution

2006-04-11 Thread arthur debert
pass more on this here: http://code.djangoproject.com/wiki/RemovingTheMagic#Addedamorepowerfulwayofoverridingmodelmethodsremovedhardcoded_pre_save_post_saveetc. cheers arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: using django.core.mail with utf-8

2006-04-09 Thread arthur debert
right now this is not possible. there is, however, a patch in the ticket system #1541 ( http://code.djangoproject.com/ticket/1541 ) that will do it... ) sample usage on the ticket... cheers --~--~-~--~~~---~--~~ You received this message because you are

Re: General Database question re: multi user apps

2006-04-09 Thread Arthur
e and the users in another table. The blog posts would be connected to the users via a foreign key. Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

mr: DateField and "global name 'date_query' is not defined" error

2006-04-05 Thread arthur debert
I stumbled upon this error message after porting a project to magic-removal. In the admin, if I try to get the list view for something like: class SomeModel(models.Model): title = models.CharField(maxlength=200) date_due = models.DateField(blank= True, null=True) class Admin:

Re: Stupid newbie question about documentation

2006-04-05 Thread arthur debert
sing magic-removal, then you can see the python module in : django/contrib/auth/models.py arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: ContentType in magic removal :: how to?

2006-03-30 Thread arthur debert
thanks a lot Jacob, I WAS missing the obvious. --~--~-~--~~~---~--~~ 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

ContentType in magic removal :: how to?

2006-03-30 Thread arthur debert
Hi. I am trying to get a model's content type in magic-removal. I have a model's instance when I try : ContentTypeManager().get_for_model(instance) I get : AttributeError: 'NoneType' object has no attribute 'DoesNotExist' I got it working with: def get_content_type(model): opts =

Re: Overthinking urls.py?

2006-03-28 Thread Arthur
ode however I wish. That's similar to what I do. The get_absolute_url() concatenates a _BASE_URL from settings.py or from the top of models.py with what you call get_id_for_url. This isn't completely clean but easy to change if you remember where to look for the constant. Arthur --~--~-

Re: ASCII or PDF version of docs?

2006-03-28 Thread Arthur
his would hopefully also help to keep the docs more up to date as more people would find inconsistencies when using the trunk or branches. Arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

magic removal : problem when subclassing User

2006-03-27 Thread arthur debert
I am subclassing User in magic-removal, and ran into this gotcha. My model: class Account(User): tel = models.CharField(maxlength = 14, blank=True) book = models.ManyToManyField(Book, blank=True) in a view I when I try this: acc = Account.objects.get(username=test_username)

Re: Assigning default value for field in admin

2006-03-24 Thread arthur debert
for the form to be "auto-filled". It seems there's no out of the box way to achieve this. -arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Extreme file uploading

2006-03-24 Thread arthur debert
, has anyone seen dropsend (http://dropsend.com/)? they've managed to get a reliable progress bar... cheers, arthur --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Generic views in magic removal

2006-03-22 Thread Arthur
> I think I figured it out, your RegEx should be: > (?P\d+)/$ Ah, much better. I've looked at the completely wrong places. I still wonder a bit about the error message. Now it only complains about missing templates which I should be able to fix. Thanks so much

  1   2   >