On Wed, 2008-07-09 at 23:11 -0700, Antoine De Groote wrote:
> Thanks for this explanation, it makes it a bit clearer.
>
> But you say: "If you are running the dev-server", does that mean it
> won't work on a deployment server?
What happened when you tried it out? That's surely the best way to
l
Thanks for this explanation, it makes it a bit clearer.
But you say: "If you are running the dev-server", does that mean it
won't work on a deployment server?
Should I from the start use the Djangobook way in this case or leave
the mysite out?
Regards,
antoine
On Jul 10, 5:31 am, Malcolm Tredi
On Wed, 2008-07-09 at 13:56 -0700, Antoine De Groote wrote:
> Hello,
>
> this is my first post on this group. I just started using Django
> yesterday, reading throuhg the online Django Book
> (www.djangobook.com).
>
> In chapter 3, for the URLconf, the authors put:
>
> from django.conf.urls.de
The previous information was not accurate. Actually it works fine
with firefox, but cause apache 500 error on IE.
On Jul 9, 9:28 pm, gt7658b <[EMAIL PROTECTED]> wrote:
> Thanks for the help, I was able to make it work. It was due to the
> fact that memcache.py was not under PYTHONPATH.
>
> There
On Jul 10, 2:08 am, [EMAIL PROTECTED] wrote:
> What does everyone recommend? FreeBSD, RedHat, or Ubuntu?
Go with what you're most comfortable with - most of my experience has
been with Debian-based distributions, and hence I run Ubuntu on my web-
server. A couple of friends run Fedora, and most
hey gang -
got a really weird issue trying to connect to any mssql databases from
home. I have Charter cable Internet, mssql 2000 running Kaspersky
firewall.For some reason I can no longer connect to a mssql
databases even when I have my firewall down. The issue was sudden and
without warni
Thanks for the help, I was able to make it work. It was due to the
fact that memcache.py was not under PYTHONPATH.
There is still one puzzle. As suggested by you, CacheMiddleware should
come before SessionMiddleware (also recommended by the django doc.).
If I do that as follow, I will get an apac
thank you very much.
On Jul 9, 10:44 pm, oliver <[EMAIL PROTECTED]> wrote:
> Hi,
>
> just do this after the "registration" part is completed
>
> http://www.djangoproject.com/documentation/authentication/#how-to-log...
>
> On Jul 9, 7:15 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > i
Yes, the install worked. If you can import a module without error,
it's installed successfully.
Mostly. ;) You can also successfully import a module even if it is
not on PYTHON_PATH, if you are in the same directory as the module.
---Peter Herndon
On 7/9/08, MadMax007 <[EMAIL PROTECTED]> wro
All excellent ideas. Great community here, thanks!!
To be clear, I have been coding Python and Django for a few weeks now,
and I've bought and read a few
books, poured over some online docs and tried to get confortable with
Komodo.
I don't really WANT to learn the internals of Django at this po
I'm trying to use the strftime formatting suggested by Django
documentation for my FileField like this:
file = models.FileField("File",upload_to="audio/%Y/%m/%d")
The problem I ran into is that the specified folder doesn't exist when
the object is saved.
I guess there is method like presave() that
Thanks for the pointer Milan...much to my surprise, pointing my
browser at http://localhost/media/style.css showed the contents of my
CSS file.
In the last post, by "seeing the same behavior", I meant that there
was no 404 error, only a blank page...no output from the template and
no stylesheet a
The contents of my base.html page are:
http://www.w3.org/1999/xhtml";>
{% block title %}{% endblock %}
Foo
Bar
{% block content %}
{% endblock %}
{% block sidebar %}
{% endblock %}
As
On 9 juil, 04:08, "ristretto.rb" <[EMAIL PROTECTED]> wrote:
> I leading a project based on Django, and I come from 12 years of Java,
> and 0 years of Python.
Well, if you insist : "ha ha ha".
Oh, BTW:
http://dirtsimple.org/2004/12/python-is-not-java.html
Ok, done with this. What's next ?-)
>
Hi list,
I'm using the comments engine [0] provided by the framework, but after
updating to the revision 7798 [1] or later I get the error:
u'get_comment_count' tag has invalid content-type. As you can tell by
the error message, the exception is raised at the get_comment_count
[2] function, but a
OMG. I definitely need more sleep!
Many thanks,
Brandon
On Jul 9, 3:20 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> Brandon Taylor wrote:
> > url(r'^(?P[w-]+)/$', 'my_site.groups.views.show_group',
>
> That regex matches one or more w's and hyphens. You surely wanted [-\w]
> to match le
Hello,
this is my first post on this group. I just started using Django
yesterday, reading throuhg the online Django Book
(www.djangobook.com).
In chapter 3, for the URLconf, the authors put:
from django.conf.urls.defaults import *
from mysite.views import current_datetime
urlpatterns = patter
Brandon Taylor wrote:
> url(r'^(?P[w-]+)/$', 'my_site.groups.views.show_group',
That regex matches one or more w's and hyphens. You surely wanted [-\w]
to match letters, numbers, underscores and hyphens.
--
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
[EMAIL PROTECTED] wrote:
> Thanks Jeff.
>
> Something else, we're going to be running that as the web-server, but
> also have a media server, but it is a Windows server. Still possible
> to send the audio/video/powerpoint to the media server, even though it
> is Windows?
>
> On Jul 9, 2:48 pm, Jeff
Fixed it. Thanks for pointing me to the right place in the
documentation.
Searched the docs, but overlooked 'Serving static/media files'.
Who thought that there would be something about where to put my css
files?
Lame excuse, glad you helped me!
-benjamin
>
> meant to put this in there:
>
>
Thanks Jeff.
Something else, we're going to be running that as the web-server, but
also have a media server, but it is a Windows server. Still possible
to send the audio/video/powerpoint to the media server, even though it
is Windows?
On Jul 9, 2:48 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote:
>
meant to put this in there:
http://www.djangoproject.com/documentation/static_files/
On Jul 9, 2:59 pm, Benjamin Buch <[EMAIL PROTECTED]> wrote:
> > Just to clarify what may be obvious...do you have the correct one
> > of these:
>
> > href=" {{ MEDIA_URL }}styles.css" <- what you wrote
> > hr
did you set the path to your in your URLconf, since you're using the
development server?
On Jul 9, 2:59 pm, Benjamin Buch <[EMAIL PROTECTED]> wrote:
> > Just to clarify what may be obvious...do you have the correct one
> > of these:
>
> > href=" {{ MEDIA_URL }}styles.css" <- what you wrote
> >
PEP 333 indicates chunked encoding is ok in WSGI apps:
"And, if the server and client both support HTTP/1.1 "chunked
encoding" [3], then the server may use chunked encoding to send a
chunk for each write() call or string yielded by the iterable, thus
generating a Content-Length header for each ch
> Just to clarify what may be obvious...do you have the correct one
> of these:
>
> href=" {{ MEDIA_URL }}styles.css" <- what you wrote
> href="{{ MEDIA_URL }}styles.css" <- likely what you want
>
> without the extra space?
>
> -tim
fixed it, but it still won't load...
-benjamin
--~--~-
> Try setting the primary_key option as True.
Fair enough, but this will solve the issue (will it? Didn't try yet)
only in case I need just one OneToOne mapping per model. What if I
need more?
In the example above, what if I need Person to be mapped to Profile
and ProjectParticipant models as One
> href=" {{ MEDIA_URL }}styles.css" /> ,
>
> 'styles.css' won't load.
Just to clarify what may be obvious...do you have the correct one
of these:
href=" {{ MEDIA_URL }}styles.css" <- what you wrote
href="{{ MEDIA_URL }}styles.css" <- likely what you want
without the extra space?
-tim
[EMAIL PROTECTED] wrote:
Hey,
At work we're getting a new server and going to use it as our web-
server and use Django to run our website and our special student/
faculty stuff.
What does everyone recommend? FreeBSD, RedHat, or Ubuntu?
We have been using rhel since about rhel3, but we're dum
Okay, I'll ask.
Perhaps it's a stupid supernoob-question, but I'll do it:
Where should my projects' stylesheets live?
I've made a 'media' directory beneath the projects' home folder, and I
put that into settings.py:
MEDIA_ROOT = '/path/to/my/project/media'
MEDIA_URL = 'http://127.0.0.1:8000/m
Many many thanks to all who helped.
Problem solved.
There seem to have been two issues:
1) Mathias pointed out missing slash.
2) I'd copied only the top tiny_mce directory into my .../media/
jscripts/tiny_mce directory.
Mario, I'll definitely look at your note again when I try out django
unde
Hi everyone,
According to: http://www.djangoproject.com/documentation/url_dispatch/
I'm supposed to be able to use {% url url-name parameter(s) %}, to de-
couple models form URLs.
Here's a snippet from my template:
{% for group in groups %}
{{ group.name }}
{% endfor %}
#in urls.py
urlpatt
Nicolas Steinmetz wrote:
> On Jul 9, 11:10 am, "Marek Stępniowski" <[EMAIL PROTECTED]>
> wrote:
>
>> It seems you are running into one of django-tagging quirks.
>> See issue #95
>> [http://code.google.com/p/django-tagging/issues/detail?id=95].
>
> Oh thanks I missed this issue. I'll test it thi
OK, more insight.
This appears to be a figment of the testing framework.
I didn't mention that I also had a file tests.py and the duplicate
problem is generated when the model that holds the doctests is
imported into tests.py. (I agree that the test code shown below
shouldn't sit in a model doc
Hey,
At work we're getting a new server and going to use it as our web-
server and use Django to run our website and our special student/
faculty stuff.
What does everyone recommend? FreeBSD, RedHat, or Ubuntu?
Thanks,
--~--~-~--~~~---~--~~
You received this mess
Thanks for the links I'll check them out
One last question, I re-did the installation for Django using some
instructions I found on Google. When I open Python now and type:
>>> import.django
>>> django.VERSION
>>> (0,96 ) "There's something else after the 0, 96 but I can't remember what
>>> it
To add more detail:
The db version of the file won't be removed until the save method is
complete.
def save(self):
if self.id:
#The photo currently exists
m = MyModel.objects.get(pk=self.id)
if m.photo == self.photo:
#They are the same photo
else:
Alternatively you can use the xml Element Tree (included in python
2.5) library for building and parsing your xml file:
http://effbot.org/zone/celementtree.htm
Then of course use urllib/urllib2 (a good reference is here:
http://www.voidspace.org.uk/python/articles/urllib2.shtml)
Dave
On Jul 9,
This behavior is really quite bizarre and I've spent a tremendous
amount of time trying to figure it out.
Here is the code to demonstrate the problem: In one of my models.py
files, I have this:
COUNT = 0
def user_pre_save(sender, instance, signal, *args, **kwargs):
global COUNT
Hi Malcolm,
I think what I'm going to do now is basically not mix the two models
but make Model B the main model. This will solve another problem I'm
having as well in one go.
Thanks again for all your help.
Mike.
On Jul 9, 2:42 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Wed, 2008-
Bobby Roberts wrote:
> We are using a payment gateway for usaepay.com to process credit
> cards. Does anyone have experience with this? I'm trying to find a
> good resource for posting XML to another site but i'm coming up short
> with how to do this in django and python.
Create a template.xml
HenrikG wrote:
> Hi!
>
> I have a problem with email-reports of "Broken INTERNAL link" that
> doesn't seem correct. For example this one:
>
> Referrer: http://www.teamxstream.se/
> Requested URL: /star_empty.gif
>
> When I access the referrer page, I get no error message myself and in
> the sou
gt7658b wrote:
> Hello, I tried to use memcached as follow. BTW, memcached is running
> as seen from top command on server.
>
> CACHE_BACKEND = 'memcached://127.0.0.1:11211/'
> # CACHE_BACKEND = 'dummy:///'
> CACHE_MIDDLEWARE_SECONDS = 60*30
> CACHE_MIDDLEWARE_KEY_PREFIX =''
> CACHE_MIDDLEWARE_AN
Try setting the primary_key option as True.
>From http://www.djangoproject.com/documentation/models/one_to_one/:
class Restaurant(models.Model):
place = models.OneToOneField(Place, primary_key=True)
# Delete the restaurant; the waiter should also be removed
>>> r = Restaurant.objects.get(pk
Hi,
I'm new to django and was trying to play around OneToOne mapping (a
very powerful feature in my mind) and found one possible issue.
I created two models: Person and Profile, where Profile is mapped to
Person with OneToOne profile field in the Person class. So now when I
create a Person, I ne
Hi all,
I have spent some weeks on Django in my spare time now.
In the docs and in most of the code (examples) I have seen, relying
solely on request.user.is_authenticated seems to be the word.
However, lately this once happened onto me:
I logged a user out of my site and for testing purposes,
We are using a payment gateway for usaepay.com to process credit
cards. Does anyone have experience with this? I'm trying to find a
good resource for posting XML to another site but i'm coming up short
with how to do this in django and python.
--~--~-~--~~~---~--
On Jul 9, 8:07 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> Rob, I am never letting you do my financial programming for me. Float
> fields lose precision. Inexact. Approximate.
Heh. Sorry. I was misunderstanding "arbitrary". Yeah, don't listen
to me, obviously. :)
--~--~-~--~--
if you use multiple django instances, you need to add to each
PythonInterpreter somestring
On Jul 8, 11:52 pm, "Milan Andric" <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 8, 2008 at 9:47 PM, foo <[EMAIL PROTECTED]> wrote:
>
> > First, I want to thank you for your reply Milan! I just recently
> > j
Daehee wrote:
> i'm trying it figure out why django is not recognizing a new models.py
> file for my app. even when i completely butcher the code in models.py
> or change the filename and run "manage.py sqlreset" or "manage.py
> syndb," it still generates the old model. any thoughts??
manage.py s
It took me a minute to see it, but "str object not callable" is
referring to the fact that your URL pattern is providing a string as
its 2nd argument and "delete_object" (the string) cannot be imported
and called.
You can either:
1) Use the actual view you imported (i.e. remove the single quotes
> How about max_value=99?
>
> Regards,
> Jonathan.
Thanks Jonathan... couldn't find that anywhere!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
Wow, I had never heard of pdb before.
--~--~-~--~~~---~--~~
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
Hi!
I have a problem with email-reports of "Broken INTERNAL link" that
doesn't seem correct. For example this one:
Referrer: http://www.teamxstream.se/
Requested URL: /star_empty.gif
When I access the referrer page, I get no error message myself and in
the source there are only occurrences of "
On Wed, 2008-07-09 at 08:02 -0700, Rob Hudson wrote:
> FloatField?
> http://www.djangoproject.com/documentation/model-api/#floatfield
Rob, I am never letting you do my financial programming for me. Float
fields lose precision. Inexact. Approximate.
There is no Django field that is arbitrary pre
I've seen articles using Twill:
http://twill.idyll.org/
And Selenium for Javascript testing:
http://selenium.openqa.org/
I'm pretty sure Twill would meet your definition of "Black Box
Testing" since it has no knowledge of the internals of the Django app
you are testing.
-Rob
On Jul 8, 10:55 pm
On Wed, 2008-07-09 at 17:02 +0200, KONTRA, Gergely wrote:
> > Could you override the save method and remove the file from the
> > filesystem prior to saving?
>
> That's what I'm attempting to.
> BUT:
> the question is: how can I figure out the database-saved value of the photo
>
> class MyModel
> Could you override the save method and remove the file from the
> filesystem prior to saving?
That's what I'm attempting to.
BUT:
the question is: how can I figure out the database-saved value of the photo
class MyModel(models.Model):
photo = ImageField(upload_to='temp')
def save(self)
FloatField?
http://www.djangoproject.com/documentation/model-api/#floatfield
On Jul 9, 4:02 am, shabda <[EMAIL PROTECTED]> wrote:
> I need to do some Financial calculations in an app in Django.
> models.DecimalField is fixed precision, while I need an arbitrary
> precision field. How can I do thi
Could you override the save method and remove the file from the
filesystem prior to saving?
e.g.
class MyModel(models.Model):
...
def save(self):
if self.id: # is a record in the database
# file system unlink call to self.path
super(MyModel, self).save()
-Ro
I just bumped into this last night and found that having core on the
ForeignKey field cause it to not save the record. Try removing
core=True and see if that helps.
-Rob
On Jul 8, 6:02 pm, "ristretto.rb" <[EMAIL PROTECTED]> wrote:
> Hello, I'm stuck. Any help will be much appreciated.
>
> I
>
On Tue, Jul 8, 2008 at 10:23 AM, Milan Andric <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 8, 2008 at 10:02 AM, moos3 <[EMAIL PROTECTED]> wrote:
>>
>> does any know why the auto_rename loses the file name but not the
>> extension?
>
> Not familiar with auto_rename but maybe if you show a little code a
Thanks for the information. I was hoping to use Django for all of the
web application I'm building (which requires a continuous stream of
data to the client rather than poling) though it appears I'll have to
build the streaming portion outside of Django, or perhaps modify the
server behavior to h
On Wed, Jul 9, 2008 at 9:27 AM, Fernando Rodríguez <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm getting this error while calling .as_table() on a form. This is how
> I define the form and the view function:
>
> from django import newforms as forms
>
> TOPIC_CHOICES = ( ('general', 'General enquiry')
Looks like you are following the djangobook, so check if your view is like:
Contact us
Contact us
{{ form.as_table }}
Cheers.
--
Rui
--~--~-~--~~~---~--~~
You received this message because you are s
Hi,
I'm getting this error while calling .as_table() on a form. This is how
I define the form and the view function:
from django import newforms as forms
TOPIC_CHOICES = ( ('general', 'General enquiry'),
('bug', 'Bug report'),
('suggestion' 'Suggestion'),
Karen,
thanks for that. Yes it is the same bug. I tried the fix and it solved
the issue. Not sure how "nice" the fix is yet but it makes the SVN
work for this project again.
o
On Jul 9, 3:04 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 9, 2008 at 8:31 AM, oliver <[EMAIL PROTECTED
Thanks for your assistance, I got it working properly now.
On Jul 8, 9:55 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2008-07-08 at 17:17 -0700, AJ wrote:
> > Thanks for your quick reply. I have been searching for a long time
> > for good documentation on using IN and paramaters
Tim Chase wrote:
>>> Any other tips to getting up to speed fast?
>>>
>> With the internal code? I wish there was some silver bullet like that.
>>
>
> I found James Bennett's page[1] on "How Django processes a
> request" helpful for understanding the big picture of how the
> pieces fi
>> Any other tips to getting up to speed fast?
>
> With the internal code? I wish there was some silver bullet like that.
I found James Bennett's page[1] on "How Django processes a
request" helpful for understanding the big picture of how the
pieces fit together. It helps makes sense of flow
On Wed, 09 Jul 2008 16:06:23 +0200, Adi J. Sieker <[EMAIL PROTECTED]> wrote:
> True, but then it opens another are which needs to be maintained.
ups, thats meant tobe "another area"
Regards
Adi
--
Adi J. Sieker mobile: +49 - 178 - 88 5 88 13
Freelance developer skype: adijsieker
Hello,
I am a novice. I plan to study whether the design measures can predict
fault-prone classes in Python. Through investigating, Django is a good
experimental subject.
I need the the Django bug and version data. Is there any web API for
accessing the Django bug and version databases?
It is a l
On Wed, 09 Jul 2008 15:50:32 +0200, Joshua Jonah <[EMAIL PROTECTED]>
wrote:
> Mod rewrite will be faster and more efficient. Not to mention, it takes
> some complexity out of your project.
True, but then it opens another are which needs to be maintained.
But in general I do agree that mod_r
> Mod rewrite will be faster and more efficient. Not to mention, it
> takes some complexity out of your project.
Granted that's true, I wonder if contrib.redirects would be more
effective if it used regexs. Particularly for old-site to new-site
conversions, one-to-one redirects aren't real
On Wed, Jul 9, 2008 at 8:31 AM, oliver <[EMAIL PROTECTED]> wrote:
>
> one more note, I was not uploading a new file. just re-saving the
> object.
>
> On Jul 9, 1:31 pm, oliver <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I get this odd error:http://dpaste.com/61580/
> >
> > "SuspiciousOperation: The
Adi J. Sieker wrote:
> On Wed, 09 Jul 2008 15:27:07 +0200, Antoni Aloy <[EMAIL PROTECTED]>
> wrote:
>
>
>> 2008/7/9 RHC <[EMAIL PROTECTED]>:
>>
>>> I know this may seem like an insanely simple question, but I'm a real
>>> newbie so be kind.
>>>
>>> I am trying to upgrade from an old php w
On Wed, 09 Jul 2008 15:27:07 +0200, Antoni Aloy <[EMAIL PROTECTED]>
wrote:
> 2008/7/9 RHC <[EMAIL PROTECTED]>:
>>
>> I know this may seem like an insanely simple question, but I'm a real
>> newbie so be kind.
>>
>> I am trying to upgrade from an old php website to Django. The problem
>> is I n
On Wed, 2008-07-09 at 06:25 -0700, [EMAIL PROTECTED] wrote:
> Thanks Malcolm for a speedy response!
>
> I guess my best bit is to somehow output the QuerySet into a list
> which I can then order myself (although this seems a bit ugly!), or
> have a rethink about the design of the two models.
If
this should work:
def get_authors(self):
return self.authors.all()
list_display = ('title', 'Publisher', 'publicationDate',
'get_authors' )
Radovan
Fernando Rodríguez wrote:
>
>
> Hi,
>
> I'm trying to display a many to many field in the admin interface.
>
> This is my model:
>
> cl
Hi,
I'm trying to display a many to many field in the admin interface.
This is my model:
class Book(models.Model):
title = models.CharField(maxlength = 100, db_index = True)
authors = models.ManyToManyField(Author)
Publisher = models.ForeignKey(Publisher)
publicationDate = model
2008/7/9 RHC <[EMAIL PROTECTED]>:
>
> I know this may seem like an insanely simple question, but I'm a real
> newbie so be kind.
>
> I am trying to upgrade from an old php website to Django. The problem
> is I need to 301 redirect old urls to new Django ones, eg.
>
> http://www.mysite.com/widgets
Thanks Malcolm for a speedy response!
I guess my best bit is to somehow output the QuerySet into a list
which I can then order myself (although this seems a bit ugly!), or
have a rethink about the design of the two models.
Thanks again,
Mike.
On Jul 9, 2:07 pm, Malcolm Tredinnick <[EMAIL PROTE
I know this may seem like an insanely simple question, but I'm a real
newbie so be kind.
I am trying to upgrade from an old php website to Django. The problem
is I need to 301 redirect old urls to new Django ones, eg.
http://www.mysite.com/widgets/purplewidget.php
needs to redirect to
http://
Hi all!
Is it possible to access a model object's saved field values?
Purpose:
I have an ImageField, and if that field changes, I would like to
remove the old file from the filesystem. Now the only way to figure it
out is with a new query, but I suspect this hits the database again,
and seems a b
Thanks very much for these responses, they've given me something to
think about.
However, assuming I'm going about things the right way, the problem
appears with the loading of Model data into a Form object which can be
passed to a FormTools.preview class.
For example, in the view function view_
On Wed, 2008-07-09 at 05:51 -0700, [EMAIL PROTECTED] wrote:
[...]
> I tried using the order_by with two sets of dates:
>
> .order_by('-related_name_to_model__date_field_in_B', '-
> date_field_in_A')
>
> However, this just produces a queryset that is partitioned into two
> separate date ordering
Hi guys,
I'm having a bit of trouble figuring this problem out. I have "Model
A" with a set of fields, one of which is of type DateTimeField with
auto_now_add=True, and the same in a second "Model B". Model B has a
foreign key relationship to Model A.
ModelA:
date_field_in_A = models.
Hi,
just do this after the "registration" part is completed
http://www.djangoproject.com/documentation/authentication/#how-to-log-a-user-in
On Jul 9, 7:15 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> i am using registration module from google, does anyone know how to
> log in automati
Hi
I am using TinyMCE to create pages using newforms.
I am following this link
http://code.djangoproject.com/wiki/CustomWidgetsTinyMCE
The program works perfectly without TinyMCE.
But the submit button stops working once I include TinyMCE widget to render
the textbox.
I am following exactly
one more note, I was not uploading a new file. just re-saving the
object.
On Jul 9, 1:31 pm, oliver <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I get this odd error:http://dpaste.com/61580/
>
> "SuspiciousOperation: The multipart parser got stuck, which shouldn't
> happen with normal uploaded files. Che
Hi,
I get this odd error:
http://dpaste.com/61580/
"SuspiciousOperation: The multipart parser got stuck, which shouldn't
happen with normal uploaded files. Check for malicious upload
activity; if there is none, report this to the Django developers."
This started happening only since I updated m
Thanks. I can live with it. The main thing is knowing I'm not
crazy. ;-)
On Jul 9, 8:00 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Wed, 2008-07-09 at 04:51 -0700, JeffH wrote:
> > I have a URL mapping problem, running 0.96.2 on Windows.
>
> > The problem: I have to specify the site na
On Wed, 2008-07-09 at 04:51 -0700, JeffH wrote:
> I have a URL mapping problem, running 0.96.2 on Windows.
>
> The problem: I have to specify the site name in the urls.py or else I
> get 404s.
>
> For example:
> urlpatterns = patterns('',
> (r'^/$', home),
> (r'^/home/$', theview),
>
I have a URL mapping problem, running 0.96.2 on Windows.
The problem: I have to specify the site name in the urls.py or else I
get 404s.
For example:
urlpatterns = patterns('',
(r'^/$', home),
(r'^/home/$', theview),
(r'^SouthHavenReservations/home1/$', theview1),
(r'^SouthHavenR
I need to do some Financial calculations in an app in Django.
models.DecimalField is fixed precision, while I need an arbitrary
precision field. How can I do this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
So the the filename is then determined by the browser, of course! That
makes sense. 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@googl
On Wed, Jul 9, 2008 at 4:43 AM, jurian <[EMAIL PROTECTED]> wrote:
>
> Is there any way to specify the filename that a HTTPResponse will be
> saved as on the browser side?
>
> (without using the 'Content-Disposition' header, I see many responses
> with filenames that don't use this header)
I think
On Wed, Jul 9, 2008 at 3:33 AM, Evan H. Carmi
<[EMAIL PROTECTED]> wrote:
> I am reading Practical Django Projects but am unable to find the online
> source code. Does anyone know where this is located? I would think that
> it would be at http://www.apress.com/book/view/1590599969. However, that
>
Is there any way to specify the filename that a HTTPResponse will be
saved as on the browser side?
(without using the 'Content-Disposition' header, I see many responses
with filenames that don't use this header)
--~--~-~--~~~---~--~~
You received this message becau
On Jul 9, 11:10 am, "Marek Stępniowski" <[EMAIL PROTECTED]>
wrote:
> It seems you are running into one of django-tagging quirks.
> See issue #95 [http://code.google.com/p/django-tagging/issues/detail?id=95].
Oh thanks I missed this issue. I'll test it this evening.
Regards,
Nicolas
--~--~-
On Sat, Jul 5, 2008 at 11:23 PM, Nicolas Steinmetz <[EMAIL PROTECTED]> wrote:
> Despite I read a lot of time the overview.txt on the django tagging svn
> repository, I still can't stand how to use it at my model's level. I'm
> quite new to python and may miss some elements.
>
> When diving into the
1 - 100 of 102 matches
Mail list logo