interface instead of writing a new
one, since eventually some of these users may also have edit rights
(however others may still be restricted to searching). Is there an
easy way to accomplish this in admin.py or elsewhere?
Thanks,
Sean
--~--~-~--~~~---~--~~
You
I just found this:
http://www.djangoproject.com/documentation/databrowse/
but other input is welcome.
Thanks,
Sean
On Oct 29, 9:43 am, Sean <[EMAIL PROTECTED]> wrote:
> I add a staff user with no additional permission to my admin
> interface, hoping that they would be abl
to recreate the interface in some ways?
Thanks,
Sean
On Oct 29, 10:07 am, Sean <[EMAIL PROTECTED]> wrote:
> I just found this:
>
> http://www.djangoproject.com/documentation/databrowse/
>
> but other input is welcome.
>
> Thanks,
> Sean
>
> On Oct 29, 9:4
When I run the command python manage.py syncdb to sync database, but
failed
I got the following error messages:
File "C:\Python25\Lib\site-packages\django\contrib\auth\management
\_init_.py". line 47 , in
signals.post_syncdb.connect
I got django1.0, Python2.52, Apache2.2.9, MySQL5.0.67,
PHPMyA
When I run the command "python manage.py syncdb" to sync database, but
failed
I got the following error messages:
File "C:\Python25\Lib\site-packages\django\contrib\auth\management
\_init_.py". line 47 , in
signals.post_syncdb.connect
I got django1.0, Python2.52, Apache2.2.9, MySQL5.0.67,
PHPM
On Nov 11, 2:50 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Mon, Nov 10, 2008 at 8:16 PM, Sean <[EMAIL PROTECTED]> wrote:
>
> > When I run the command python manage.py syncdb to sync database, but
> > failed
>
> > I got the following
On Nov 11, 7:22 am, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Nov 11, 1:18 am, Sean <[EMAIL PROTECTED]> wrote:
>
> > When I run the command "python manage.py syncdb" to sync database, but
> > failed
>
> > I got the following error messages:
Hello,
I removed the preview button as it did not preview, it posted.
To redirect the "post" add the following line to the comment form:
where <> is what page you want to view after posting.
Sean
On Dec 27, 4:30 pm, stereoit wrote:
> Hi,
> I tried to a
event please feel free to contact
me directly.
-Sean O'Connor
--~--~-~--~~~---~--~~
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 u
are almost
the most powerful machin I can get in the market, so hardware is not a
issue.
I guess the slow down is caused by I/O to hard-disk.
Anyone have any suggestion how can I make this process faster, or
there is any other superfast database engine than MySql?
Sean
with one user, what is the best way
to restrict it's permissions to the ones I want it to be able to read?
Can this be done at a configuration file level so that upon running
syncb, the permissions are in place?
Any pointers greatly appreciated.
Reg
Hi Thomas,
Thank you for your suggestion. The modified manage.py sounds like a
very good place for me to start.
Best regards,
Sean
On Mon, 2009-09-07 at 16:09 +0200, Thomas Guettler wrote:
> I can speak only for postgres.
>
> We create the database with a special admin-account
eet, Suite
220, in Brooklyn at 7pm on 10/13/09.
We look forward to seeing you there!
-Sean
--~--~-~--~~~---~--~~
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
Try {{ images.0.image }}
Sean
On Jul 19, 7:43 pm, Marc Garcia <[EMAIL PROTECTED]> wrote:
> Hi!
>
> In a project I get a set of images from a model, and then I display it
> on the template. In same template (but in another place), I just want
> to display first element
Glad to help.
{{ images.image_set.count }} or similar should work, depending on your
models.
cheers, Sean
On Jul 20, 1:13 am, Marc Garcia <[EMAIL PROTECTED]> wrote:
> Thanks mate, it works great.
>
> Anybody could tell me if there is something like that for counting
> items
in forms %}
...print form
{% form %}
I guess the easiest way to avoid this behaviour would be somehow
overwrite the form.base_fields['somefield'].choices.queryset with a
cached queryset or something like that, but I couldn't get that to
work, without hitting the database eve
ryset fo a large table
qs=mediaform.base_fields['somefield'].queryset
forms = []
for i in requested_forms:
form=mediaform(data, auto_id="some_generated_id")
# assign the queryset to the choices
form.base_fields['somefield'].queryset = qs
forms.append(form)
And yes, I
d (imagine 50 drop down list with 600
tags each ;-)).
I'll try to implement the functionality in javascript to clone the
options for all fields.
thanks again for the suggestions,
sean
--~--~-~--~~~---~--~~
You received this message because you are subscribe
Something which may cause this is if your template includes any empty
image, javascript, or css references (i.e. ).
If you have anything like this in your template, your web browser will
fetch the page multiple times (it will think that current page is the
file you are trying to reference) causin
there some way to pass on the cookie to auth.handlers.modpython and
let the user pass right away?
sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
e correct syntax for displaying inline editable
fields?
cheers, Sean
[1] http://code.djangoproject.com/changeset/4676
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
Thanks for the quick reply. I should really complete the move to
newforms ;-)
On Mar 9, 1:31 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> If it stopped working in 4676, then it's a bug in that changeset. Not
> much in the way of testing for oldforms, so that's why it wasn't caught.
>
> Sor
Hi Malcolm,
just tried the new revison and the problem is gone.
Thanks a lot for the fast fix.
Sean
> I think this should be fixed now in [4693]. Turned out to be a simple
> change, but finding the line to change took a few minutes.
>
> Please give it a run and feel free to p
Greetings,
I am in the process of writing a custom model field. Its basically an
encrypted char field, the idea is that when ever the field is saved to
the database it would be encrypted and when it is loaded back from the
database it would be decrypted.
I have gotten the encryption and decrypt
Cool! Thanks for the feedback and advice,
I'll be excited to check out what you guys have come up with.
On Jun 3, 10:23 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2007-06-04 at 10:20 +0800, Russell Keith-Magee wrote:
> > On 6/2/07, Sean <[EMAIL PROTE
> > Additionally I have a strange problem where any time I include this
> > custom field in a model, that model no longer appears in the Django
> > admin. There doesn't seem to be any errors in the field/model since I
> > can use it with out problems from the shell.
>
> I haven't looked at this p
cations in settings.py or somewhere?
Also, on both OS X and Ubuntu, I get symbol not found errors for
GEOSCoordSeq_getOrdinate when trying to import the geos tests (see
below).
Any help appreciated.
Sean
-: python manage.py shell
Python 2.4.4 (#1, Nov 7 2007, 11:38:36)
[GCC 4.0.1 (Apple Com
I need access control to the media (images in small, medium and full
resolution), is there any point in using another apache instance if i
want to use the django user authentication, or would the whole
mod_python overhead go into memory anyway?
On Dec 20, 7:49 am, "James Bennett" <[EMAIL PROTECT
n't feel up to the challenge to hack that into admin.
cheers, Sean
--~--~-~--~~~---~--~~
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.
:
> Sean,
>
> You're looking for the filter_interface argument for the ManyToManyField:
> http://www.djangoproject.com/documentation/model_api/#many-to-many-relationships
>
> On 5/17/06, Sean <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> I was wondering if the s
formance is probably not really good, but I can't really
tell, because at the moment the site is for internal use only. Would be
interesting to see some other solutions.
cheers, Sean
Scott Anderson wrote:
> Hi all,
>
> I'd like to add a specialized data type for PostgreSQL: the
&
f this can be achieved, are there any pitfalls to it, such as the
auth system breaking?
any suggestions appreciated,
sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Ok.
Thanks for the quick reply.
--~--~-~--~~~---~--~~
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
lumns
don't do any harm, but as I use postgresql I'm kind of worried that the
autovacuum function bails out and somehow leaves the db in an unstable
state. This has improved a lot in recent versions, but there still seem
to be some problems from time to time.
sean
Jay Parlar wrote:
>
You might want to try one of these approaches:
http://code.djangoproject.com/wiki/CookBookAdminTools
I haven't tried any of these yet myself, but those links could be a
starting point.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
wmedia/f(?P\d+)/page(?P\d+)/$',
'django.views.generic.list_detail.object_list', info_dict),
Any suggestions?
thanks, sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
r. In the
tutorial the info_dict is built with something like
Polls.objects.all(). Is this query ever evaluated, because it would
seem a waste of ressources to select all objects just to get the
object_detail view to work?
It seems to me that I am missing something quite obvious.
regards, sean
Ma
Could you be looking for something like direct-to-template?
http://www.djangoproject.com/documentation/generic_views/#django-views-generic-simple-direct-to-template
Guillermo Fernandez Castellanos wrote:
> hi,
>
> I have an index.html file with django template language.
> I could do a wrapper in
id something like obj.objects.all().get(pk=..) behind the scene.
Thanks again for the clarification.
Regards,
Sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
Maybe you would want the "editable=False" parameter in your model, which
hides the field from the admin. Then simply populate the field in the
save method.
Tamara D. Snyder wrote:
> Hi all,
>
> In my "Event" model I have a slug field that is automatically
> generated from another field. I woul
Tamara D. Snyder wrote:
> Thank you, this works pretty well.
>
> Actually, "editable=false" does not hide the field from the admin
>
But what else does it do?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djan
That's weird, because it hides it for me.
I have a field like this:
objects_path = models.CharField(maxlength=50, null=True, editable=False)
and it is clearly not visible in the admin.
Tamara D. Snyder wrote:
> It just makes the field not editable. Actually, it looks like you
> can edit the f
You should fix those things, editable didn't work because 'False' with
quotes isn't a valid boolean value. The prepopulate is probably not
necessary, because all it does is include some javascript that fills
the field for you as you edit the other fields. Best just to overrride
the save method and
You could try this:
http://www.djangoproject.com/documentation/django_admin/#sqlinitialdata-appname-appname
Sean
Gennan Chen wrote:
> Hi!
>
> is there any way to put some initial data in the db by using "syncdb"
> option? Or I need to
rm object right away?
This is probably more a python question than a django-related one
Any help appreciated,
Sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
That seems to work, thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMA
This is a major security hole. Just because a field is hidden doesn't
mean it cannot be changed. Use the request.user object for
authentication purposes. The authentication docs should give you an idea
what to do.
cyberco wrote:
> Max, I'm not sure I fully understand your reply. Currently I got
Just stumbled upon this:
http://www.rossp.org/blog/2006/aug/23/changemanipulators-only-part-model/
Could be of use to some.
Scott Paul Robertson wrote:
> On Thu, Aug 24, 2006 at 10:46:25AM -, cyberco wrote:
>
>> What works is this:
>>
>> =
>> new_data_user['date_joined
Not really django related, but here goes:
It depends on how you want to implement the form.
1. Using javascript and implementing a dynamic option list. You can find
enough examples on dynamicdrive.com and other sites
2. Using Javascript an ajax you could hook into the onchange event of
the firs
Call './manage.py shell':
from django.contrib.auth.models import Permission
for perm in Permission.objects.all():
perm.delete()
and then call './manage syncdb'
This rebuilds the permission table.
If you want it done some other way, you will probably have to wait for
the SchemaEvolution br
or creating a new entry
if self.id:
# create your dir here
super(Registry, self).save()
Hope this helps,
Sean
Henhiskan wrote:
> Hi fellows,
> I have been using Django administration via Web to manage my
> application, but now need one more functiona
If I understand you correctly your problem is the shell not finding the
django-admin.py file.
Setting the PythonPath doesn't put django-admin.py on your normal Path,
which is used to find commands in the shell.
So you could either symlink django-admin to some place in your Path,
like /usr/bin, or
hrough Apache.
Any other suggestions?
Sean
--~--~-~--~~~---~--~~
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 gr
tried changing the base.py for the spatialite base.py in contrib.gis
to look for the sqlite3 library but that didn't work. I'm sure it's a
bad idea anyway to have it load the sqlite3 lib again.
Has anyone found a way to get GeoDjango to pyspatialite?
Thanks,
Sean
--
You receiv
USA
On Dec 17, 2010 9:28 PM, "Kenneth Gonsalves" wrote:
> On Fri, 2010-12-17 at 15:12 -0800, Sean W wrote:
>> Is anyone aware of good quality, affordable training for Django?
>
> which country?
> --
> regards
> Kenneth Gonsalves
>
> --
> You received thi
Hi JJ,
I am very interested in the django form output in ExtJS style, has your
code been upload somewhere I can have a look, such as github?
Also, my email address is liushu2...@gmail.com
Thanks,
Sean
On Tuesday, 4 September 2012 20:05:01 UTC+1, JJ wrote:
>
> Hi all,
> I created par
e?
I've uploaded a snippet at http://www.djangosnippets.org/snippets/900/
(note this works with current trunk - i.e. post newforms-admin merge.
If you need it for the old admin I also have the code knocking about,
it's fairly similar - let me know
meetings.
You can apply via http://mobgeo.standoutjobs.com/jobs/1489-junior-developer
--
Sean Legassick
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
On Thu Jan 29 13:49 , "maltebeckm...@mac.com" sent:
>
>I am an Expression Engine (CMS) fan who recently got convinced that
>Python is way cooler than PHP. Problem is that Expression Engine is
>written in PHP.
>
>Is there an Expression Engine for Django, i.e. an installation package
>that can b
Has anyone created a work around for lack of pre-commit support at
beanstalkapp.com. I would like to run tests on my apps before they get
committed to my repository however with beanstalk you do not get
access to subversion hooks. I was thinking of creating a python script
that would preform the t
In case anyone else in interested I whipped up this simple script that
seems to do the job.
http://dpaste.com/121117/
It basically works like svn commit but looks thru all of directories
under your current directory for manage.py files. If it finds one it
runs manage.py test. If all tests pass i
Is there a simple way to say get me 4 objects from model that come
before this object and 4 that come after this object.
So lets say I have a Show. I would like to know which 4 shows come
before the current show and which 4 come after, however I must limit
the shows based on a category type. Woul
> current_show = 5 #Presumably you get this in your request
> show_range = (current_show - 4, current_show + 4)
> shows = Show.objects.filter(show_order__range=show_range)
This seems to work so far.
shows = Show.objects.filter(Q(pk__range=(show_id - 4, show_id + 4) & Q
(category=category))
Behi
I am trying to render a timestamp in my template with date:"U" but the
timestamps are days off. I wrote up a simple test case that fails. Do
you think this is a bug or a user error? I am running rev: 9846.
from django.test import TestCase
class SimpleTest(TestCase):
def test_template_timesta
> I asked a similar question a while ago... turns out the server i'm
> using from godaddy was set for Arizona and was an additional 20 some
> minutes off...
I checked my server and the timezone is set to US/CENTRAL and my
settings file is set to America/Chicago. So that should be the same.
Plus t
Would something like this work?
def U(self):
"Seconds since the Unix epoch (January 1 1970 00:00:00 GMT)"
import calendar
timestamp = calendar.timegm(self.data.timetuple())
return timestamp + time.timezone
Test:
r"""
>>> print dateformat.format(my_birthday, 'U')
40437
"""
fr
BTW, That is with a timezone of "America/New_York"
On Feb 21, 1:05 pm, Sean Brant wrote:
> Would something like this work?
>
> def U(self):
> "Seconds since the Unix epoch (January 1 1970 00:00:00 GMT)"
> import calendar
> timestamp
This is best explained with an example.
i have a model for Stats
class Stat(models.Model):
key = models.CharField(max_length=50)
value = models.TextField()
pub_date = models.DateTimeField()
so if i create a few stat objects lets say these.
stat1 = Stat(key='total_books_sold', value
I have existing tables in a postgresql database created with existing
sequences as the default values for their primary key. I am trying to
interface with the database with django (i have tried with 1.0.2, 1.1
and now have django-trunk) and while it seems the model works
(runserver complai
2ctl restart, the changes show up.
Has anyone else experienced this?
Regards,
Sean
--~--~-~--~~~---~--~~
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@g
Hi all.
I have resolved this by adding user=www-data group=www-data to the
WSGIDaemonProcess:
WSGIDaemonProcess sean75_ispy user=www-data group=www-data
Regards,
Sean
On Aug 5, 1:46 pm, Sean Kemplay wrote:
> Hi All,
>
> I have the following in my virtual host config:
>
> WS
left behind by apt and all is
now fine. I did notice in my apache logs that mod_wsgi was compiled
against python 2.5.1 and that python 2.5.2 was installed on my system
- I am not sure if that contributed.
The config files needed no change.
Thanks,
Sean
On Aug 5, 10:20 pm, Graham Dumpleton
I have written some unit tests that test various parts of code that
utilize geopy for determining geo locations. Should I be running my
tests using the geocoder class, or should I create a mock class that
does not actually ping any services? If creating a mock class is
recommended should I specify
I had a similar problem after updating the django version. I had custom
admin templates based on the previous version. Copying the latest
versions accross fixed it for me.
Regards,
Sean
On Tue, 2009-08-18 at 07:18 -0700, Joakim Hove wrote:
> Hello,
>
> I am slowly building up a
profile, and retrieve the instance through it. eg
account.domain_set.get(). If it throws an error, it
doesnt exist or isnt owned by that account. This stops url manipulation
as far as I can tell.
Sean
On Wed, 2009-09-09 at 16:37 -0700, eka wrote:
> Hi all..
>
> Is there any way
In most of my projects I have a img, css, js folder. In my css file I
reference images like this url(../img/path/to/img.jpg) in my css
files. The ../ basically says start the path back one directory. Not
sure if this is what's causing your problem.
On Mar 27, 8:10 am, Martin Ostrovsky
wrote:
> I
ect to the ModelManager)
Thank you for your time.
--Sean Neilan
http://seanneilan.com
--~--~-~--~~~---~--~~
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@goo
think I'll be a bit better off now.
Thank you again.
-Sean
On Apr 12, 11:16 pm, Malcolm Tredinnick
wrote:
> On Sun, 2009-04-12 at 20:41 -0700, Sean Neilan wrote:
> > I'm building a large web application & I'm trying to figure out ways
> > to organize my business
-with-tags/
My question to the group is??? Is there a common use-case for this?
and should I submit a ticket and see if this or an approach similar is
worth including into trunk?
Thank,
Sean
--~--~-~--~~~---~--~~
You received this message because you are subscribed
If you set request.urlconf in say a Middleware then the reverse
function and the url tag will not work because those try to match
based on your ROOT_URLCONF. I was trying to find a solution to this
problem and came across this ticket. http://code.djangoproject.com/ticket/5034
Then It dawned on me
I knew I couldn't be that easy. Thanks for the heads up. Any other
work around? besides the patch mentioned.
On Apr 15, 11:17 pm, Alex Gaynor wrote:
> On Thu, Apr 16, 2009 at 12:15 AM, Sean Brant wrote:
>
> > If you set request.urlconf in say a Middleware then the reverse
>
If the tag excepts more than one argument you should be able to do
something like this.
{% sayHello "Robert and" currentname %}
You would just need to figure out how best to break the bits up (a
regex probably would work) and iterate over those bits resolving the
variables to strings, keeping th
Try this, not tested but it might work.
class ProfileForm(forms.ModelForm):
def __init__(self, *args, **kwargs):
self.error_class = DivErrorList
super(ProfileForm, self).__init__(*args, **kwargs)
class Meta:
model = P
exclude = ('date', 'user', 'public')
Did you try date = models.DateTimeField(). This will show up in the
admin tool as a calendar widget that you can use to select the date.
Django takes care of converting the dates into Python objects and into
whatever format your database needs for storing. You could also just
use a DateField if yo
problem since, at least in my opinion, the calendar widget might be a
> little confusing.
>
> Thanks for the suggestion.
>
> On May 12, 7:56 am, Sean Brant wrote:
>
> > Did you try date = models.DateTimeField(). This will show up in the
> > admin tool as a cale
I am also having a issue with contrib.auth test errors. They errors
seem to be caused by url tags in my base.html template. When I comment
out all of those tags the tests pass. The url tags seem to work when i
look at the site im my browser.
===
Im running trunk rev: 10790 with Postgres 8.3 and when I access the
admin area or when using login_required i get this error:
Traceback (most recent call last):
File "/Users/seanbrant/webapps/django/lib/python2.5/django/core/
servers/basehttp.py", line 278, in run
self.result = application
It might be due to threading, every once in a while I can pull up the
admin page. It's pretty random thought.
On May 15, 8:24 pm, Sean Brant wrote:
> Im running trunk rev: 10790 with Postgres 8.3 and when I access the
> admin area or when using login_required i get this error:
&g
On more thing I reverted back to rev: 9500 (choose it randomly) every
thing seems to work.
On May 15, 8:24 pm, Sean Brant wrote:
> Im running trunk rev: 10790 with Postgres 8.3 and when I access the
> admin area or when using login_required i get this error:
>
> Traceback (most rece
I rechecked out trunk and it seems to work as expected. Thanks.
On May 15, 2009, at 10:54 PM, Alex Gaynor wrote:
>
>
> On Fri, May 15, 2009 at 8:40 PM, Sean Brant
> wrote:
>
> On more thing I reverted back to rev: 9500 (choose it randomly) every
> thing seems to work.
&
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/home/58124/data/python/django/django/core/management/
__init__.py", line 362, in execute_manager
utility.execute()
File "/home/58124/data/python/django/django/core/management/
__init__
Thanks Karen.
This is a script that fetched some json from a remote service. I
switched from using the normal simplejson module to the one provided
by Django and that seems to decode things in a unicode safe way.
On May 21, 2009, at 8:48 AM, Karen Tracey wrote:
> I see I specified the unic
port Django to this degree. I suspect it might be
a server issue though? This code however worked for a while then just
stopped, and there were no code changes that took place when It
stopped working.
Thanks
Sean
--~--~-~--~~~---~--~~
You received this message bec
I'll reach back out to them and see what they say.
On Tue, Jun 9, 2009 at 9:15 AM, Karen Tracey wrote:
> On Tue, Jun 9, 2009 at 9:49 AM, Sean Brant wrote:
>>
>> I am running on a MediaTemple Django container with the SVN version of
>> Django. When I try and upload a image
If I have 2 sql queries one with a limit of 5 and the other with a
limit or 6 they return there results in diffrent orders.
Here is a example.
>>> class Book(models.Model):
>>>title = models.CharField(max_length=150)
>>>author = models.CharField(max_length=100)
>>> book_list_1 = Books.o
You the man Alex, that was the problem!
On Jun 11, 11:19 am, Alex Gaynor wrote:
> On Thu, Jun 11, 2009 at 11:15 AM, Tom Evans wrote:
>
>
>
>
>
> > On Thu, 2009-06-11 at 09:04 -0700, Sean Brant wrote:
> > > If I have 2 sql queries one with a limit of 5 and the o
I am creating a custom image field, that I would like for it not to
save the image until after the model instance is written to the
database (i want the id for the object to use in the filename). The
ImageField class saves the image to storage via pre_save. Is there any
methods or any other code t
Okay I just came up with this, let me know if this is a really hacky
way to do this. With this it will save the model, then the file and
then the model again, not sure how to do this since we don't get the
filename until after we save the file and we have to set the filename
in the database.
clas
Nope, there customer support takes to long so I just gave up. Please
post if you have any updates. Last I remember it might be a NFS issue
on there end. Not really sure.
On Jun 17, 2009, at 9:43 AM, mmarshall
wrote:
>
> On Jun 9, 9:19 am, Sean Brant wrote:
>> "Did M
has anyone come across dual storage backend, ideally id would like a
way to save a file locally and then in a back ground process save to
s3, the guess the storage class would handle the files locally until
the background process has finished then switch to serving the files
off of s3?
Basecamp d
1 - 100 of 280 matches
Mail list logo