On Wed, 2009-02-18 at 23:35 -0800, Marlun wrote:
> I believe this will work perfectly in my case.
>
> To easy my curiosity, how would you do it differently if you wanted
> the sequence object to be grouped by date but have the month name
> instead of number? I mean right now I get a list of entry
I believe this will work perfectly in my case.
To easy my curiosity, how would you do it differently if you wanted
the sequence object to be grouped by date but have the month name
instead of number? I mean right now I get a list of entry objects. How
would you change your view code to retrieve a
Malcolm Tredinnick a écrit :
> Method #2: create a dictionary mapping "engine" values to the right
> callable.
>
> try:
> {'google': google,
> 'yahoo': yahoo,
> # ...
> }[engine](...)
> except KeyError:
> # Engine name
On Thu, Feb 19, 2009 at 2:32 AM, Stefan Tunsch wrote:
>
> Hi there!
>
> I'm trying to see what's the best approach in my scenario.
> The problem is how to make a list display different sums and
> calculations based on it's child objects.
>
> My scenario could be the following:
> Two models: Proje
On Thu, Feb 19, 2009 at 12:42 AM, David Zhou wrote:
>
> Nevermind -- I'd always imported settings first, but since that's not
> always the case (such as third party apps), things act strangely.
>
> Short of changing something in django core, is there any way of adding
> to sys.path dynamically be
Nevermind -- I'd always imported settings first, but since that's not
always the case (such as third party apps), things act strangely.
Short of changing something in django core, is there any way of adding
to sys.path dynamically before any django code gets run?
-- dz
On Thu, Feb 19, 2009 at
I've been doing the following for a while, but I'm not sure if it has
unintended side effects:
#settings.py
import os, sys
sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),
'apps'))
I keep pluggable apps in an svn repo, and do checkouts of the ones I
need in the apps folde
On Thu, Feb 19, 2009 at 12:04 AM, Praveen wrote:
>
> Hi could you please tell me more about sorry i could not get you. are
> you using django-profiles?
>
> On Feb 19, 8:24 am, timlash wrote:
> > I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my
> > Debian Etch box. I'm makin
I can't figure out what is going on here but I'm hoping someone can
help. I am using James Bennett's get_latest templatetag (
http://www.b-list.org/weblog/2006/jun/07/django-tips-write-better-template-tags/
) and am using django-syncr. Django Syncr works fine and syncs my
twitter tweets just fin
Hi could you please tell me more about sorry i could not get you. are
you using django-profiles?
On Feb 19, 8:24 am, timlash wrote:
> I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my
> Debian Etch box. I'm making decent progress on developing my first
> Django web app. I'
and you do that like so:
answer0 = forms.IntegerField(label='', widget=forms.CheckboxInput
(attrs={'value':0}))
for the next bloke that doesn't want to have to figure it out.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
I'm running Python 2.4, Django 1.0.2 and Django_Registration-0.7 on my
Debian Etch box. I'm making decent progress on developing my first
Django web app. I've got models, tables, views, templates,
registration has successfully sent Gmail and test users have been
activated.
My first noob problem
Thanks a lot for your responses. I managed to track down the problem
further with the help of the information you provided.
In my wsgi script I have:
sys.stdout = sys.stderr
(So that's the reason why output is redirected to error files as
Graham mentioned.)
My view file is:
# coding=utf-
Thanks Jacob, looks like a good place to start.
Doug
On Feb 18, 6:09 pm, Jacob Kaplan-Moss
wrote:
> On Wed, Feb 18, 2009 at 6:10 PM, DougC wrote:
> > Any thoughts from experienced Django developers?
>
> Two things you might want to look into:
>
> The first is model inheritance
> (http://docs.d
On Wed, 2009-02-18 at 18:07 -0800, adelevie wrote:
> According to Djangobook, the philosophy of the admin site is that all
> users of it are "trusted" not just "authenticated," meaning you will
> trust them to do the right thing.
That's not an argument against a read-only display of information.
On Wed, Feb 18, 2009 at 6:10 PM, DougC wrote:
> Any thoughts from experienced Django developers?
Two things you might want to look into:
The first is model inheritance
(http://docs.djangoproject.com/en/dev/topics/db/models/#id4). You
could, for example, have an abstract ``TrackedObject`` model
According to Djangobook, the philosophy of the admin site is that all
users of it are "trusted" not just "authenticated," meaning you will
trust them to do the right thing.
On Feb 18, 8:42 pm, mermer wrote:
> You need to create a custom ReadOnlyField that subclasses the
> FileField.
> You also n
You need to create a custom ReadOnlyField that subclasses the
FileField.
You also need to create a ReadOnlyWidget that subclasses Forms.Widget
The link below, explains how the whole thing hangs together.
http://lazypython.blogspot.com/search?updated-min=2008-01-01T00%3A00%3A00-05%3A00&updated-m
This used to work fine until around the time I upgraded from python
2.5 to 2.6. I use a windows pc.
When I cd into the directory that I want to start my project in I type
"django-admin.py startproject somesite" and get the Windows "choose
program to open file" list. What is a starting point toward
When you say "come before this object" and "come after this object",
how is this represented in your data model? Do you have a field called
show_order where you are capturing this information? In that case you
could do something like
current_show = 5 #Presumably you get this in your request
show_
On Wed, Feb 18, 2009 at 7:06 PM, Sean Brant wrote:
>
> 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
On Wed, 2009-02-18 at 16:06 -0800, Sean Brant wrote:
> 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
Hi all,
I'm not sure if this is the right forum, so please redirect me if it's
not.
I'm new to Django/Python, but not to coding. I've run through the
Django tutorial and I like what I see.
A very common problem that I work on is a webapp that "tracks"
something. People, computers, assets, you n
On Thu, 2009-02-19 at 00:43 +0100, Nicolas Steinmetz wrote:
[...]
> The issue is that engine in engine(request.POST['search'], 10) does not
> become google(request.POST['search'], 10) in the case where the user
> chosed "google" as engine.
>
> Is there a solution or did I have to test all value
Ajax would only be necessary if you want a status bar that reflects
accurately the progress. You can probably get by with something
simpler. I would write some Javascript that is triggered on clicking
the submit button that replaces the button with this graphic:
http://yesmagazine.org/store/images
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
On Feb 17, 9:04 pm, Alex Gaynor wrote:
>
> Django has a 1.0.X branch
> here:http://code.djangoproject.com/browser/django/branches/releases/1.0.X
> that is
> the work that becomes the various point releases(currently 1.0.2).
Thanks Alex!
On Feb 17, 9:17 pm, James Bennett wrote:
>
> You might
On Feb 18, 10:08 am, PeteDK wrote:
>
> However when i go to .com/media/profile_pics/ i get a directory
> listing of all the folders in this directory.
The easiest solution is just to put a blank index.html file in the
directory.
We do the equivalent in WordPress, example wp-content/index.ph
Hello,
I have in mind in a tiny app to allow user to set a search box with the
provider they wish.
I base this on web_search and then did the following :
# Create your models here.
class SearchBox(models.Model):
CROP_ANCHOR_STR = ('dmoz', 'ask', 'google', 'googlefr', 'excite',
'msn', 'ya
On Wed, 2009-02-18 at 09:16 -0800, Thomas Hill wrote:
> Hey all,
>
> Been trying to display multiple form rows for a project lately, and I
> just wanted to confirm that I'm doing this right. I found a solution
> on http://www.pointy-stick.com/blog/2009/01/23/advanced-formset-usage-django/
>
On Wed, 2009-02-18 at 09:12 -0800, Deniz Dogan wrote:
> Hi
>
> I'm having trouble understanding the new aggregation support in Django
> 1.1, and here is what I want to do:
>
> Let's say I have a model called Bike with a DateField called
> "production_date". Now I want to get all of the Bikes and
On Wed, 2009-02-18 at 07:16 -0800, Brandon Taylor wrote:
> Hi everyone,
>
> I know how to modify a response header value, but not a request header
> value. I need to integrate with an external system that is injecting a
> value in the request header that I need to check for.
>
> Is it possible t
On Wed, 2009-02-18 at 06:15 -0800, mermer wrote:
> Thanks, that works very well - but as you mentioned is certainly not
> intuitive.
>
> Can you use a similar technique to prepopulate fields? My use case is
> this:-
>
> I want to display an INLINE formset. Though records which already
> exist
On Wed, 2009-02-18 at 12:20 +, Adam Stein wrote:
> Maybe somebody can suggest how to get the functionality I'm trying to
> duplicate. I looked and can't find anything that seemed similiar.
>
> I have a form with checkboxes. User selects one or more and submits the
> form. The processing cu
2009/2/18 João Olavo Baião de Vasconcelos :
> Hi all,
>
> I'd like to login in Admin site and authenticate with LDAP. Is there a "most
> used LDAP authentication backend"?
> I found the backend ldapauth.py [1], that seems to be the one. Is this the
> best solution?
>
> I see that in [2] that are m
On Wed, Feb 18, 2009 at 4:14 PM, May wrote:
>
> Hello Karen,
>
> What I need then is to rewrite the model statement. I imported the
> tables from MySQL, so the table structures were already set. Should I
> add a manytomany field in the contact table? I'm concerned about
> django creating a new
Thanks Karen. Don't know how I missed that.
On Feb 18, 11:49 am, Karen Tracey wrote:
> On Wed, Feb 18, 2009 at 2:35 PM, Margie wrote:
>
> > Is there a way to pass a template variable into a custom template
> > tag?
>
> Certainly. Please read:
>
> http://docs.djangoproject.com/en/dev/howto/cu
Hello Karen,
What I need then is to rewrite the model statement. I imported the
tables from MySQL, so the table structures were already set. Should I
add a manytomany field in the contact table? I'm concerned about
django creating a new separate table from the intermed table I already
have. Re
Regarding whether to dpaste or not: Ideally, there is a happy medium were
the bulk of a problem is described in email and dpaste (or simliar) is used
for full specifics of the code, if necessary, to get help. Usually when the
line (or section) of code that is causing the problem is identified, it
I am:
C:\Program Files\Apache2.2\akonline>python "C:\ProgLangs\Python25\Lib
\site-packa
ges\django\conf\project_template\manage.py" sqlall blog
Error: App with label blog could not be found. Are you sure your
INSTALLED_APPS
setting is correct?
On Feb 18, 9:00 pm, Malinka Rellikwodahs wrote:
> m
On Wed, Feb 18, 2009 at 3:13 PM, May wrote:
>
> Hello Karen,
>
> Yes, I seem confused here. I've been trying everything. The key is
> that this query works correctly in the postgres database to retrieve
> the institutionname (institution), using the contact id retrieved from
> Project:
>
> sele
my first gues would be you are not in the akonline folder
On Wed, Feb 18, 2009 at 15:54, djandrow wrote:
>
> Hello all,
>
> I've been trying to add a few extra fields to my model, as part of my
> blog app. So then I tried sqlall:
>
> python "C:\ProgLangs\Python25\Lib\site-packages\django\conf
>
Hello all,
I've been trying to add a few extra fields to my model, as part of my
blog app. So then I tried sqlall:
python "C:\ProgLangs\Python25\Lib\site-packages\django\conf
\project_template\manage.py" sqlall blog
theres another thread about why i've included the path, but i don't
see why it
On Wed, Feb 18, 2009 at 10:50 AM, phoebebright
wrote:
>
> The javascript makes a call to this view on submitting the form that
> uploads the image.
>
> def uploadimage(request):
>try:
>upload_full_path = settings.CONTENT_IMAGES
>
>upload = request.FILES['im
Hello Angel,
Previously, when I placed code into the message, I was reprimanded by
users for taking up message space and to use dpaste. However, I agree
with you, the code is necessary for future reference. Since, you also
seem to agree, I will henceforth place the code into the message.
Thank
Hello Karen,
Yes, I seem confused here. I've been trying everything. The key is
that this query works correctly in the postgres database to retrieve
the institutionname (institution), using the contact id retrieved from
Project:
select DISTINCT Institution.institution
from Contactintermed, Ins
On Jan 6, 12:47 am, drakkan wrote:
> On 6 Gen, 00:41, drakkan wrote:
>
> Suppose I want to delete an user. This user is in table1 and so in
> databaseview too. Django default is to do adeletecascade so it tries
> to remove the user from table1, databaseview and auth_user: it fails
> when try
I asked this question on the django-sphinx group a few days ago but so
far havent recievied any replies so i thought i would ask here. I'm
trying to use the passages function "BuildExcerpts" feature of sphinx
and have been unable to get it to work. Im not new to sphinx but i am
to django. So if an
On Wed, Feb 18, 2009 at 2:46 PM, May wrote:
>
> Hello Karen,
>
> Here are my views and models:
>
> http://dpaste.com/122204/
>
> http://dpaste.com/14/
>
>
> The manytomany table is actually a tertiary table. I was just trying
> to use django terms, so people would understand what type of tab
this off topic, but i am saving these postings in my gmail. The problem
with putting your code in dpaste is that in 29 days, that link is invalid,
and when I look upon this thread in the future, I will have no idea what
your source looks like and what the possible solutions are.
dpaste looks coo
On Wed, Feb 18, 2009 at 2:35 PM, Margie wrote:
>
> Is there a way to pass a template variable into a custom template
> tag?
Certainly. Please read:
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#passing-template-variables-to-the-tag
Karen
--~--~-~--~~--
The complete view is here:
http://dpaste.com/17/
On Feb 18, 11:46 am, May wrote:
> Hello Karen,
>
> Here are my views and models:
>
> http://dpaste.com/122204/
>
> http://dpaste.com/14/
>
> The manytomany table is actually a tertiary table. I was just trying
> to use django terms, so p
Hello Karen,
Here are my views and models:
http://dpaste.com/122204/
http://dpaste.com/14/
The manytomany table is actually a tertiary table. I was just trying
to use django terms, so people would understand what type of table.
Thanks for your help!
May
On Feb 18, 11:33 am, Karen Trac
On Wed, Feb 18, 2009 at 2:30 PM, Alfonso wrote:
>
> I've got an invoice model that foreign key's to a customer model, when
> the invoice is saved I'm update a few fields in that related customer
> model to make other code in my setup work. I keep getting
> "unsupported operand type(s) for ** or
Is there a way to pass a template variable into a custom template
tag? For example, say that my template is rendered like this, so that
books is in the context:
books = books.objects.all()
return render_to_response(template.html, {
"books":books
} context_instance=RequestContext(request)
Now
On Wed, Feb 18, 2009 at 1:43 PM, May wrote:
>
> I need to get the institution name through an intermediary table (two
> foreign keys) to display in a template.
>
> The code is here:
>
> http://dpaste.com/122204/
>
> Thank you anyone,
>
(Your subject line says manytomany but I don't see any evide
i'm just kinda wondering how you're going to be showing a demo of
django when you don't know anything about it, nor how to set it up.
On Feb 18, 10:19 am, "s.sudharsan siva"
wrote:
> Hii am new to Django we are planning to show a demo on Django on FOss
> conf09.. can any one help with how to sta
I've got an invoice model that foreign key's to a customer model, when
the invoice is saved I'm update a few fields in that related customer
model to make other code in my setup work. I keep getting
"unsupported operand type(s) for ** or pow(): 'Decimal' and
'NoneType'" whenever I try to save th
I am creating a private genealogy web page of pictures/obituaries/data
files/census records etc... all just a set of files within a directory
structure. I just want Apache to index the directory's contents and
the files within them and serve them over the web. That works fine.
Then I wanted to res
On Wed, Feb 18, 2009 at 10:44 AM, djandrow wrote:
>
> Hello,
>
> I have python 2.5 and 2.6 installed on my computer and when i try to
> run manage.py sqlall I get an error:
>
> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error l
My experience with setting up tinymce was that there were plenty of plenty
of opportunities for getting the paths wrong! To avoid problems I put a
dynamic link (ln -s) into the django admin media folder so it could use the
defaults. Hope that helps.
Phoebe.
2009/2/18 zegerman
>
> Hello,
>
> I
That certainly looks like another option! Thanks.
On Feb 18, 3:00 pm, Brandon Taylor wrote:
> FWIW, I have been able to successfully integrate Django Admin
> Uploadshttp://code.google.com/p/django-admin-uploads/with jQuery. I'm not
> certain as to how difficult this would be to port to YUI. Th
The javascript makes a call to this view on submitting the form that
uploads the image.
def uploadimage(request):
try:
upload_full_path = settings.CONTENT_IMAGES
upload = request.FILES['image']
dest = open(os.path.join(upload_full_path,
upl
Hi all,
I'd like to login in Admin site and authenticate with LDAP. Is there a "most
used LDAP authentication backend"?
I found the backend ldapauth.py [1], that seems to be the one. Is this the
best solution?
I see that in [2] that are many patches. Is the file in [1] updated, or do I
have to ap
Brilliant, thank you! I'll take care of this later tonight.
Thanks again, Brian.
On Wed, Feb 18, 2009 at 10:40 AM, Brian Rosner wrote:
>
>
> On Feb 18, 2009, at 11:33 AM, Thomas Hill wrote:
>
> > Ah, yes, indeed. Will definately do that, thanks. Regarding the
> > formset classes and form classes
I need to get the institution name through an intermediary table (two
foreign keys) to display in a template.
The code is here:
http://dpaste.com/122204/
Thank you anyone,
May
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
On Feb 18, 2009, at 11:33 AM, Thomas Hill wrote:
> Ah, yes, indeed. Will definately do that, thanks. Regarding the
> formset classes and form classes with their try/except lines,
> however, does that look "right"?
Ah ok. I must have completely overlooked that. You seem to be solving
thing
On 18 Feb, 19:33, Jacob Kaplan-Moss
wrote:
> On Wed, Feb 18, 2009 at 12:24 PM, Deniz Dogan
> wrote:
> > I'm sorry about that, I meant something like this:
>
> > { 2008-01-02 : [Bike 1, Bike 2],
> > 2008-02-09 : [Bike 7, Bike 4] }
>
> Well, you can't do this with the aggregation API because you
On Wed, Feb 18, 2009 at 8:52 AM, koranthala wrote:
>
> Hi,
>I am unable to extract values from form fields inside templates.
>For example:
> I have mutiple text fields in which one field says whether the
> second field is X or not and the second field containing the actual
> data. (T
Ah, yes, indeed. Will definately do that, thanks. Regarding the formset
classes and form classes with their try/except lines, however, does that
look "right"?
On Wed, Feb 18, 2009 at 10:31 AM, Brian Rosner wrote:
>
>
> On Feb 18, 2009, at 10:16 AM, Thomas Hill wrote:
>
> > #VIEW
> > @login_requi
On Wed, Feb 18, 2009 at 12:24 PM, Deniz Dogan wrote:
> I'm sorry about that, I meant something like this:
>
> { 2008-01-02 : [Bike 1, Bike 2],
> 2008-02-09 : [Bike 7, Bike 4] }
Well, you can't do this with the aggregation API because you can't do
that is SQL. Remember: there's no such thing as
On Feb 18, 2009, at 10:16 AM, Thomas Hill wrote:
> #VIEW
> @login_required
> def manage_roles(request, resource_id):
> resource = get_object_or_404(Lock, pk=resource_id)
> if(request.method == "POST"):
> formset = create_roles_formset(resource, request.POST)
> if formset.
> { 'production_date' : 2008-01-02,
> 'bikes' : [Bike 1, Bike 2],
> 'production_date' : 2008-02-09,
> 'bikes : [Bike 7, Bike 4]
>
> }
I'm sorry about that, I meant something like this:
{ 2008-01-02 : [Bike 1, Bike 2],
2008-02-09 : [Bike 7, Bike 4] }
I guess I didn't quite think that thr
On 18 Feb., 19:14, Ramiro Morales wrote:
> On Wed, Feb 18, 2009 at 4:08 PM, PeteDK wrote:
>
> > Hi. I know this is not really Django related, but this is one of the
> > best forums out there so i hope you can help me :-)
>
> > The thing is, i have a django website.
>
> > The media files are ha
On 18 Feb, 19:08, Jacob Kaplan-Moss
wrote:
> On Wed, Feb 18, 2009 at 11:12 AM, Deniz Dogan
> wrote:
> > Let's say I have a model called Bike with a DateField called
> > "production_date". Now I want to get all of the Bikes and group them
> > by their production date. How would I do this in Djan
> However when i go to .com/media/profile_pics/ i get a directory
> listing of all the folders in this directory.
>
> Can i disable this?? so its not possible to "browse" all the profile
> pics, without knowing the exact path of a given file.
Hi Peter,
read the Summary section of
http://h
On Wed, Feb 18, 2009 at 4:08 PM, PeteDK wrote:
>
> Hi. I know this is not really Django related, but this is one of the
> best forums out there so i hope you can help me :-)
>
> The thing is, i have a django website.
>
> The media files are handled by the apache server instead of django,
> which
On Wed, Feb 18, 2009 at 3:50 PM, djandrow wrote:
>
> I've had some success by specifying the path manually
>
> python "C:\ProgLangs\Python25\Lib\site-packages\django\conf
> \project_template\manage.py" sqlall
If you are using manage.py then the most common scenario
is the one when you already ar
On Wed, Feb 18, 2009 at 11:12 AM, Deniz Dogan wrote:
> Let's say I have a model called Bike with a DateField called
> "production_date". Now I want to get all of the Bikes and group them
> by their production date. How would I do this in Django? I can't seem
> to figure it out.
For this type of
Hi. I know this is not really Django related, but this is one of the
best forums out there so i hope you can help me :-)
The thing is, i have a django website.
The media files are handled by the apache server instead of django,
which works great.
However when i go to .com/media/profile_pics
Hey all,
Been trying to display multiple form rows for a project lately, and I
just wanted to confirm that I'm doing this right. I found a solution
on http://www.pointy-stick.com/blog/2009/01/23/advanced-formset-usage-django/
, and I took what I needed from it (my code below), but I found th
I've had some success by specifying the path manually
python "C:\ProgLangs\Python25\Lib\site-packages\django\conf
\project_template\manage.py" sqlall
I'm still getting an error but i'm 90% sure its unrelated.
Thanks,
Andrew
On Feb 18, 4:00 pm, Alex Gaynor wrote:
> On Wed, Feb 18, 2009 at 10:
Create a scheduled task /cron job that does what you want.
This will get you started:
from django.core.management import setup_environ
import settings # If your script file is in the same directory as the
settings.py file
setup_environ(settings)
After that, import your models as usual and use
Hi there!
I'm trying to see what's the best approach in my scenario.
The problem is how to make a list display different sums and
calculations based on it's child objects.
My scenario could be the following:
Two models: Project and Task
One Project has many Task.
Task has a boolean "open" fiel
Passing both the form and the object is the solution I use. It may not
be completely DRY, but I can't see how it's bad. You need access to
the data in an object so you pass the object. Much more sensible than
trying to extract those values from a more complicated data
structure.
Kevin
On Feb 18,
Hi
I'm having trouble understanding the new aggregation support in Django
1.1, and here is what I want to do:
Let's say I have a model called Bike with a DateField called
"production_date". Now I want to get all of the Bikes and group them
by their production date. How would I do this in Django?
Hello.. it is very easy to make one standalone script with django..
Check this post:
http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
Martin.
2009/2/18 GRoby
>
> Alfonso,
>
> One way would be to create a View that performs all of the Report
> Generating Tasks. You could th
Hello,
Im tryin to get Tiny_mce running with Django CMS.
I installed Django CMS and its running fine.
After that I setup django_tinymce and followed these steps:
http://django-tinymce.googlecode.com/svn/tags/release-1.5/docs/.build/html/installation.html#id1
Thats my tiny_mce configuration in m
Alfonso,
One way would be to create a View that performs all of the Report
Generating Tasks. You could then use cron (or another task scheduler)
to run a command line browser that runs that view (using wget for
example).
So basically you would have a @monthly entry in cron that runs
something l
On Wed, Feb 18, 2009 at 10:44 AM, djandrow wrote:
>
> Hello,
>
> I have python 2.5 and 2.6 installed on my computer and when i try to
> run manage.py sqlall I get an error:
>
> raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
> django.core.exceptions.ImproperlyConfigured: Error l
On Wed, Feb 18, 2009 at 10:36 AM, Alfonso wrote:
>
> Hi,
>
> I have a client who wants to generate an invoice statment
> automatically on the first of every month. I'm trying to work out how
> I might do that in Django. I have a simple statement model and a
> simple invoice model and all I want
Hello,
I have python 2.5 and 2.6 installed on my computer and when i try to
run manage.py sqlall I get an error:
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module: Module use of python25.dll conflicts with
The documents have a first steps section and other sections may
inspire you as well
http://docs.djangoproject.com/en/dev/
hope that helps
Andrew
On Feb 18, 3:19 pm, "s.sudharsan siva"
wrote:
> Hii am new to Django we are planning to show a demo on Django on FOss
> conf09.. can any one help w
Hi,
I have a client who wants to generate an invoice statment
automatically on the first of every month. I'm trying to work out how
I might do that in Django. I have a simple statement model and a
simple invoice model and all I want to do is on 1st of calendar Month
update the statement model w
Hii am new to Django we are planning to show a demo on Django on FOss
conf09.. can any one help with how to start with Django and what to demo
--
With Regards
S.Sudharsan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Hi everyone,
I know how to modify a response header value, but not a request header
value. I need to integrate with an external system that is injecting a
value in the request header that I need to check for.
Is it possible to mock this behavior in Django? I'm not very familiar
with how these va
FWIW, I have been able to successfully integrate Django Admin Uploads
http://code.google.com/p/django-admin-uploads/ with jQuery. I'm not
certain as to how difficult this would be to port to YUI. There are a
couple of JS issues that I've had to fix with this, but otherwise, it
works very well.
Re
On Wed, Feb 18, 2009 at 9:20 AM, Bobby Roberts wrote:
>
> hi all.
>
> I've got a model with the following line:
>
>Pic1 = models.ImageField(upload_to='/auctionimages',blank=True)
>
>
> is it possible to easily create a thumbnail in django 0.97 on
> python2.5. If not, can someone show me how?
On Feb 18, 5:36 am, phoebebright wrote:
> There is something different about the way django is handling to response to
> php I think.
I use the YUI Rich Editor in admin, and have no problems. I know
debugging isn't as easy in IE as others, but do your best to find out
the exact response (mos
I apologize; someone straightened me out in a private email that there
was an error in my setup.
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
1 - 100 of 123 matches
Mail list logo