On Mon, May 11, 2009 at 6:28 PM, Margie wrote:
> The answer is definitely yes. However, some perserverance is required
> to figure it out. I recently found Jannis Leidel's web page (I
> believe he is one of the django developers, but not sure about that)
> and it provides some really excellent
On Thu, May 14, 2009 at 10:56 PM, Lee Hinde wrote:
> Because I would be using different base.html files, I'm wondering if
> there is a work around to having a single 404.html file. For instance,
> can I determine at run time where to find my base.html file?
Write a view which chooses and uses th
On Fri, May 15, 2009 at 11:20 AM, gustavora...@gmail.com
wrote:
> Is there any other solution available that would allow row level
> permission?
The Django admin's ModelAdmin class, which you must subclass to
provide an admin interface for your models, has methods (consult
source) which determin
On Fri, May 15, 2009 at 1:55 PM, Tim Chase
wrote:
> One more option that occurs to me is that you can stash all of
> the POSTed variables into a session-store with a hash key,
> redirect with some sort of "load POST variables from this
> hash-key" GET page, and then when the login is done, redire
On Tue, May 19, 2009 at 2:47 AM, Matt Davies wrote:
> I've been asked to server up a crossdomain.xml file at the root of our web
> sites so that another team of developers can access our data via Flash.
> How do I set that up in the urls.py file? I use one urls.py file for many
> web sites so it
On Wed, May 20, 2009 at 2:53 AM, Aaron wrote:
> I can get the djangos admin to work on the localhost server fine.
>
> I just can't get it to work on google apps servers.
Google App Engine supports a subset of Django, not all of Django.
Most notably, the Django object-relational mapper for datab
On Thu, May 21, 2009 at 5:10 AM, Chris Withers wrote:
> What was your solution in the end? I'm always interested this kind of
> batching of results, and I'm very new to Django...
The Django tutorial mentions this -- a Django QuerySet is "lazy",
which means that it doesn't do a query until it abs
Constructive suggestions for improving the documentation system should
go into tickets in Trac. Personal correspondence between participants
should stay off-list. Thread should be over now, please.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-
On Sat, May 23, 2009 at 11:21 PM, Juan Hernandez wrote:
> where could I download third party django apps??
Anyone who's doing proper application packaging and distribution will
have listed their application on the Python Package Index and applied
the Django framework classifier. A list of packag
On Mon, May 25, 2009 at 12:43 PM, martin f krafft wrote:
> Look what I found! Check out the fifth point, labeled #1, top-most
> annoyance with Python, in
And?
While I like it as much as the next guy, django-tagging, to take your
example, is currently sitting at version 0.2.1, released in Januar
On Tue, Jun 2, 2009 at 12:46 PM, Technicalbard wrote:
> The problem comes when I try to start the tutorial:
>
> mor...@morgan-laptop:~/www$ django-admin startproject mysite
> Error: [Errno 13] Permission denied: '/home/morgan/www/mysite'
Quoting the tutorial:
"you may see the message “permissio
On Fri, Jun 12, 2009 at 7:07 PM, Kenneth
Gonsalves wrote:
> I always set it for VirtualHost - AFAIK the docs say to do so.
No.
The docs say to set it to the prefix under which the site is being
served. If the site is located at the root of the server -- e.g., "/"
-- then it is not being served u
On Sun, Sep 13, 2009 at 8:25 PM, W.P. McNeill wrote:
> Is this expected behavior? I can see some discussion on the web that
> references unicode support for slugification, but I can't tell if that
> unicode support works for any arbitrary unicode characters, or Django
> has hand-crafted slugific
On Thu, Sep 17, 2009 at 5:23 AM, Chris Withers wrote:
> Well, I'm certainly not setuptools-happy, but Django appears to be
> wrapped up as a standard distribution on PyPI (sorry, should have said
> distro, not egg), so it would make sense to use that...
Putting on my release-manager hat for a mo
On Thu, Sep 17, 2009 at 6:01 AM, Chris Withers wrote:
> All of your problems seem to center on zipped eggs. These are evil
> things anyway, and can be avoided by simply putting zip_safe=False as a
> parameter to setuptools (whether it actually comes from setuptools, or
> if it comes from the main
On Fri, Sep 18, 2009 at 10:36 PM, Kyle MacFarlane
wrote:
> Everything works fine except when detecting management commands. It
> will only detect commands in the first package in sys.path underneath
> "company.*". Once it has checked one package in the namespace it does
> not look inside any othe
On Sat, Sep 26, 2009 at 3:21 PM, djfis...@gmail.com
wrote:
> It is possible to have a model in one application have a foreign key
> to another application as of Django 1.0.
It's always been possible to point relationships at models in other
applications. The bit you're linking to is a special al
On Sun, Sep 27, 2009 at 6:48 AM, Erik Kronberg wrote:
> I'm on chapter 3 of James Bennett's Practical Django Projects. My
> problem is that TinyMCE isn't showing up in the Admin -> New Flatpage
> text area. Using Linux (Ubuntu 9.04)
First thing I'd recommend is checking it against the version he
On Mon, Sep 28, 2009 at 4:34 AM, Torsten Bronger
wrote:
> Can it be safely used with Apache's Worker MPM?
The answer is, basically, "it depends on what *you*, the programmer, do".
The current stable releases of Django -- 1.0.3 and 1.1 -- don't by
themselves do anything which is known to cause t
Yes.
We've confirmed the problem. We're working on a patch.
In the meantime, everybody go meditate on the documentation for how to
report security issues.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~--~~~---~--~~
Yo
Today the Django project is issuing a set of releases to remedy a security
issue. This issue was disclosed publicly by a third party on a high-traffic
mailing list, and attempts have been made to exploit it against live Django
installations; as such, we are bypassing our normal policy for security
On Mon, Oct 19, 2009 at 12:12 AM, aju wrote:
> I installed django-notify. But in that django-notify folder it does
> not contain the file notify_user.py. I need this file. Plese send me
> the file notify_user.py
It is likely that you will get a better response by contacting the
author of the app
If anyone knew what had happened to it, it's likely they'd have
responded in one of the multiple other threads asking this question.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~--~~~---~--~~
You received this message
On Sun, Nov 1, 2009 at 10:56 PM, Nick Arnett wrote:
> As I ask the question, it now seems clear to me that the column is
> needed.
There must be a field on the model with "primary_key=True". If a model
is defined without such a field, Django assumes an implicit
auto-incrementing field named "id"
On Tue, Nov 3, 2009 at 1:17 AM, Low Kian Seong wrote:
> There is a query page where the start_date and end_date is being sent.
> Then the do_defender_advanced will process it and generate an Excel
> using the template.
For each object you are displaying the values of four foreign keys.
Each time
On Tue, Nov 3, 2009 at 1:17 AM, Low Kian Seong wrote:
> There is a query page where the start_date and end_date is being sent.
> Then the do_defender_advanced will process it and generate an Excel
> using the template.
One other thing is that the Django template system isn't really
optimized for
On Tue, Nov 3, 2009 at 3:22 AM, Chris Withers wrote:
> ...or you could just use xlwt and deliver the real deal ;-)
I generally prefer CSV because it's readable by more than just Excel
-- any decent programming language can read it, most databases can
import directly from it, and in a pinch even
On Tue, Nov 3, 2009 at 3:22 AM, Chris Withers wrote:
> That said, I'd be surprised if the templating is the problem here, it'll
> be the interaction with the database that's taking the time...
Depends. The {% for %} tag can be relatively expensive,
performance-wise, due to all the context manipu
On Tue, Nov 3, 2009 at 11:27 PM, ds99 wrote:
> I am using django with postgres as backend. Some of the fields in the
> table are of type "bytea"(bytearray). Which django fields should I use
> while defining a model for such tables?
You should write a field which does this. There is no field buil
On Sun, Nov 8, 2009 at 10:00 AM, Zeynel wrote:
> I am just learning Object Oriented terminology as I go along. Please
> help me to understand what each word means in the class definition in
> the tutorial http://docs.djangoproject.com/en/dev/intro/tutorial01/ .
You may experience better results
2009/11/10 Evgeny :
> sometimes there is this error after upgrade to 1.1.1:
>
> http://groups.google.com/group/django-users/browse_thread/thread/c6a61a3788138745
>From the sound of it, this was a configuration problem on your system,
and not an issue with Django (any time deleting an older copy o
On Tue, Nov 10, 2009 at 9:47 PM, neridaj wrote:
> I'm just following "Practical Django Projects" and was curious if
> anyone else was able to fix a TypeError when trying to add tiny_mce to
> the admin for flatpages, or is this something buried in the
> tiny_mce.js file?
Compare to this, which is
On Sun, Nov 15, 2009 at 8:19 PM, neridaj wrote:
> I'm getting this error even though I have added slug field for this
> model - Link. I ran syncdb a few times and I still get the error. Any
> suggestions?
Quoting the documentation:
http://docs.djangoproject.com/en/dev/ref/django-admin/#syncdb
"
On Thu, Nov 19, 2009 at 1:57 PM, Ken MacDonald wrote:
> So, a couple questions:
>
> 1) is it a bug that 'id' is generated as an 'integer' rather than 'serial'
> type?
I'd be curious as to how your DB got set up that way, since Django's
table-creation routines map AutoField to SERIAL:
http://code
On Wed, Dec 16, 2009 at 2:13 PM, Michael K wrote:
> Should I take the silence to mean I should open a bug report?
I clicked the "download" link for Django 1.1.1, and the package
downloaded. On finishing the download, I was able to checksum it and
get the same results as the signed checksum docume
On Fri, Dec 18, 2009 at 6:58 PM, macdd wrote:
> plain text then it isn't very secure. Okay so https comes in. What I
> don't understand is when to use it and when not to. It seems like if
> you authenticate over https just for user credentials and then go back
> to http (like yahoo) than someone c
On Tue, Dec 22, 2009 at 12:59 PM, yummy_droid wrote:
> Has anyone had good experiences with hosting companies that I can use
> for production django apps, with backups, etc.?
http://djangofriendly.com/hosts/
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
On Mon, Apr 26, 2010 at 12:59 AM, Francis Gulotta wrote:
> The latest patch in that ticket's comments seems to work for me. Being new
> to the project may I ask, is this ticket not closed due to lack of tests or
> have a stumbled upon a design disagreement?
The latest patch attached is lacking te
On Wed, Apr 28, 2010 at 2:46 AM, andy saksena wrote:
> (111, 'Connection refused')
As a Google search would have told you, this is the error Python's
smtplib module will raise when you tell it to connect to a mail server
and it can't. Which means you need to go double-check the settings
you've gi
Tonight we're proud to announce, finally, the first Django 1.2 release
candidate. If all goes well, it will also be the *only* release
candidate, and Django 1.2 final will release one week from today.
For more information, consult:
* The Django project weblog:
http://www.djangoproject.com/weblog/
On Tue, May 11, 2010 at 4:11 PM, Preston Holmes wrote:
> Now I can think of several ways to do this in a form field init, but
> it seems like there should be a more reusable way to do it with a
> custom field type or mixin by overriding get_choices on the field
> object.
There is an easy way -- a
This entire discussion is inappropriate for this list. If either of
you wish to continue it, do so elsewhere.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
Once again:
This discussion is inappropriate for this list; take it to personal email.
There will not be a third warning.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
You received this message because you are subscribed to the Google Groups
"Django use
We're pleased today to announce the release of both Django 1.1.2 --
the second bugfix release in the 1.1 series -- and the long-awaited
Django 1.2.
More information is available over at djangoproject.com:
* Django 1.1.2 release announcement:
http://www.djangoproject.com/weblog/2010/may/17/112/
*
Following up on last week's Django 1.2 release, today we'd like to
announce Django 1.2.1, the first bugfix release in the 1.2 series:
* Announcement blog post: http://www.djangoproject.com/weblog/2010/may/24/121/
* Download: http://www.djangoproject.com/download/
* Checksums: http://media.djangopr
On Fri, May 28, 2010 at 7:41 PM, pyfreak wrote:
> However, I also need to use "key". But when I'm sending over stuff
> from javascript like above,
> the key has a "[]" tacked on the end of it, like "stringkey[]"
You are most likely running into this, or an issue similar to it in
another JavaScr
On Tue, Jul 6, 2010 at 10:56 AM, Bradley Hintze
wrote:
> Error: No module named pollsdjango.contrib.admin
Look at your INSTALLED_APPS setting. You're missing a comma between
the polls app and the admin app.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
Y
On Sat, Jul 31, 2010 at 12:37 PM, cootetom wrote:
> Thanks Carlos but I'm trying to achieve getting the path without
> having to pass the request object.
In a word: don't.
Instead, design your system to pass the information you need where and
when you need it. This doesn't mean everything always
On Tue, Aug 3, 2010 at 9:19 AM, didier rano wrote:
> What do you think about this post
> ? http://blog.skeedy.com/django-rails-but-a-cost-to-pay
I think...
* A community, but it is not so easy to find developers compared to Java or .NET
True, but finding *good* developers in any language, which
On Fri, Sep 3, 2010 at 2:04 PM, dave b wrote:
> Ok no movement :)
Nor is there likely to be. Insofar as you've identified a problem at
all, it's a problem in a piece of software that isn't Django, and
you've ignored multiple people who've pointed that fact out to you
(along with the fact that Apa
The Django team has just issued Django 1.2.2 to deal with a reported
security issue. Full details are available in the blog post:
http://www.djangoproject.com/weblog/2010/sep/08/security-release/
All users of Django 1.2 are urged to upgrade immediately.
--
"Bureaucrat Conrad, you are technicall
To correct several issues in the 1.2.2 package earlier this week,
tonight the Django team has issued Django 1.2.3. Details are available
on the Django weblog:
http://www.djangoproject.com/weblog/2010/sep/10/123/
All users are encouraged to upgrade as soon as possible.
--
"Bureaucrat Conrad, you
On Wed, Sep 15, 2010 at 8:28 AM, Rev. Johnny Healey wrote:
> I may be missing something here, but this jumps out at me as being
> impossible. The ModelBase metaclass receive the attributes as a dict,
> so isn't the original order lost?
All instances of Manager have an internal-use-only attribute
On Thu, Sep 23, 2010 at 5:42 AM, Tom Evans wrote:
> svn is the 'official' vcs, and is used to manage the development (and
> one would hope) the release engineering, but I doubt very much that it
> is the 'official distribution mechanism'; I would have thought that
> would be the tarball. Indeed, t
On Tue, Oct 19, 2010 at 8:20 PM, Phlip wrote:
> A web platform which I will refer to as "Rails" lets you print out all
> the equivalents of the matchers and modules in the tree of urls.py
> files using "rake routes".
One easy way:
1. Install docutils.
2. Add 'django.contrib.admindocs' to your IN
On Sun, Oct 31, 2010 at 8:48 AM, adj7388 wrote:
> What does that last line do? I have looked high and low in Django and
> Python documentation, but I can't find an example or explanation of
> this pattern. It appears to be clobbering the method
> 'activation_key_expired()' with a boolean that is a
The first alpha preview package for Django 1.3 is now available.
* Release notes: http://docs.djangoproject.com/en/dev/releases/1.3-alpha-1/
* Download instructions: http://www.djangoproject.com/download/
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
You
On Thu, Dec 24, 2009 at 11:40 AM, twister wrote:
> it seems to me that "(r'^admin/(.*)', admin.site.root)" in the urls.py
> cannot match the unicode url string u'admin/'.
No, that's not the actual problem. But without seeing the
configuration you're using for the server, it's impossible to work o
On Thu, Dec 24, 2009 at 7:08 PM, zweb wrote:
> Any way to avoid this 301 MOVED PERMANENTLY ?
As always, the documentation is your friend:
http://docs.djangoproject.com/en/1.1/ref/middleware/#module-django.middleware.common
--
"Bureaucrat Conrad, you are technically correct -- the best kind of
On Fri, Dec 25, 2009 at 1:06 PM, Hanne Moa wrote:
> A site using django-tagging will break hard on 1.2 as of today. See
> issue http://code.google.com/p/django-tagging/issues/detail?id=233 .
>
> How is one to use as_sql() now with multi-db in?
One doesn't. And, generally, one should be sticking t
On Tue, Dec 29, 2009 at 8:24 PM, shacker wrote:
> Hmm, I find that odd. It's standard practice to let the user enter
> the subject for a contact form. I wouldn't want my inbox filled with
> contacts from site users, all with the same subject line.
In my experience, it's far more common for all m
The first alpha preview package for Django 1.2 is now available.
* Release notes: http://docs.djangoproject.com/en/dev/releases/1.2-alpha-1/
* Download instructions: http://www.djangoproject.com/download/
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
You r
On Thu, Jan 7, 2010 at 11:50 PM, sridharpandu wrote:
> Couldn't understand your post. Pls eloborate
You say you typed:
>>> from django.ontrib.auth.models import user
This is incorrect. There is no such thing as
"django.ontrib.auth.models". There *is* such a thing as
"django.contrib.auth.models"
On Mon, Jan 11, 2010 at 10:46 AM, Tim wrote:
> The issue is getting Django admin to recognize this. Has anyone seen
> or done anything like this? I have a few ideas where to begin, but
> figured I would ask first so I don't end up re-inventing the wheel if
> something has already been started.
Th
On Thu, Jan 14, 2010 at 10:26 PM, Kieran Brownlees wrote:
> Basic example of format:
> Main Thread: print objects.all()
> Spawned Thread: print objects.all() -- same as main thread
> Main Thread: objects.create(newObj)
> Main Thread: print.objects.all() -- correct queryset, original + new
> Spawne
On Thu, Jan 21, 2010 at 12:09 PM, rodel bosque wrote:
> is django 1.2 alpha release support python version 3?
As the main Django documentation page suggests, it's a good idea to
consult the FAQ:
http://docs.djangoproject.com/en/1.1/faq/install/#can-i-use-django-with-python-3-0
--
"Bureaucrat
On Fri, Jan 22, 2010 at 6:48 PM, CerenGuven wrote:
> 3-5+ years Django/Python development experience
If you manage to find someone with 5+ years' Django experience, do let me know.
(meanwhile, job postings should go to djangogigs.com)
--
"Bureaucrat Conrad, you are technically correct -- the
On Thu, Jan 28, 2010 at 8:55 PM, zweb wrote:
> Is it possible to have a read only django admin, ie user cannot add,
> delete or update. User can only view data.
>
> or may be one user can be view only and other user has add/delete /
> update as well in Django admin.
The Django administrative inte
On Fri, Jan 29, 2010 at 12:39 AM, Delacroy Systems
wrote:
> Why can a Django project name not start with a numeric? I would like
> my project name to be 1time.
Reading a good Python tutorial may be a good idea, since Python (the
programming language) doesn't support identifiers beginning with
num
On Sat, Jan 30, 2010 at 10:55 AM, harryos wrote:
> 'coltrane_entry_archive_day' ,'coltrane_entry_archive_month' etc are
> never used in any method in class Entry.Even if I remove it from the
> urlpattern the entries will be listed properly and get_absolute_url in
> template will point to the corre
On Mon, Feb 1, 2010 at 3:59 AM, Kenneth Gonsalves wrote:
> Anyway, player.getcoursehandicap() works - but not within 'filter'
Why would you expect it to? Python method definitions are not legal
SQL, so you can't pass a Python method into a SQL query and expect it
to work. If you want to further f
Anybody who wants to continue this thread: take it off-list
immediately or face the wrath of the list moderators.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
On Wed, Feb 3, 2010 at 9:54 PM, punwaicheung wrote:
> You're seeing this error because you have DEBUG = True in your Django
> settings file. Change that to False, and Django will display a
> standard 404 page.
You're receiving this reply because you didn't ask a question.
--
"Bureaucrat Conrad
Tonight we've released Django 1.2 beta 1:
* Blog entry: http://www.djangoproject.com/weblog/2010/feb/06/12-beta-1/
* Release notes: http://docs.djangoproject.com/en/dev/releases/1.2-beta-1/
* Checksums: http://media.djangoproject.com/pgp/Django-1.2-beta-1.checksum.txt
Note that this constitutes f
On Thu, Feb 11, 2010 at 4:32 AM, orbital_fox wrote:
> Is there a way and guides on how to install django without having root
> access on a system? What are the requirements?
The single most useful thing you're going to be able to do for
yourself is go work through the standard Python tutorial, sp
On Sun, Feb 14, 2010 at 7:06 PM, italiasky wrote:
> Can we expect Django 1.2 to be used with Python 3.x ?
Django's documentation contains answers to many common questions,
including this one:
http://docs.djangoproject.com/en/dev/faq/install/#can-i-use-django-with-python-3
In the future, please
On Thu, Feb 18, 2010 at 10:55 AM, Paul Stone wrote:
> I'm trying to find the best way to update a model using data from the
> request object (e.g request.user) before it is saved. One use case for
> this is updating an 'updated_by' field on a model.
Presumably you have a view which is updating th
2010/2/26 Matías Iturburu :
> Hi guys, Sorry to bring such an off topic, but I've notice that I'm banned
> on the django irc channel (at least I'm receaving #django :Cannot send to
> channel any time I want to talk there, my nick name is *tutuca*).
> I don't think I've ever been disrespectful or, i
On Sat, Feb 27, 2010 at 10:07 PM, Harley Bussell wrote:
> Hi, id like to know if any one has found a work around to use limits
> when updating a query set.
This is unlikely to be supported by Django; "UPDATE ... LIMIT" is
non-standard, non-portable and MySQL is the only DB supporting it out
of th
On Sun, Feb 28, 2010 at 4:42 PM, Andrej wrote:
> Shouldn't this work? It's a tuple.
>
> gender = models.CharField(_('Gender'), max_length=1,
> choices=GENDER_CHOICES, default=GENDER_CHOICES[2])
>
> It doesn't.
> I smell black magic!
The value that goes in 'default' is the actual DB value you'd wa
On Sun, Feb 28, 2010 at 5:13 PM, Andrej wrote:
> I want to use the Admin module to pre-set default values when creating
> the form. For example, in the gender case, I want to have default
> "Unknown" option. Is this this not possible?
It is possible; all you have to do is specify the choices you
On Tue, Mar 2, 2010 at 11:19 AM, jul wrote:
> I have a multilingual site and I'd like to get some date in the
> current language. With date.strftime, I get the date in english
> only...
> The language is set by "/i18n/setlang/".
> How can I do that?
For simple formatting, you could just do what t
On Thu, Mar 4, 2010 at 12:59 PM, Phlip wrote:
> Doesn't anyone in Django-land have experience with the platforms that
> make this problem incredibly easy?
Most likely, yes. And those people, believe it or not, designed
Django's APIs based on their experiences. This is why there are
shortcuts avai
On Thu, Mar 4, 2010 at 1:43 PM, Phlip wrote:
> And again the condescension. As a programmer, I should be able to
> easily chose between statements that throw and ones that efficiently
> deal with branching conditions. A record-not-found is not a crisis, it
> is just a branching condition. 5 excess
On Mon, Mar 8, 2010 at 11:11 AM, Phlip wrote:
> And if the PEP8 told you to ... just jump off a cliff... would you?
Sounds like you might benefit from actually reading it:
http://www.python.org/dev/peps/pep-0008/
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
On Tue, Mar 9, 2010 at 8:47 AM, Shawn Milochik wrote:
> I wonder if this is something that might end up in Django as a built-in
> feature at some point. It comes up regularly on this list.
Were I to sit here all morning doing nothing but typing, I wouldn't be
able to say "no" enough times to that
On Wed, Mar 10, 2010 at 9:16 PM, brad wrote:
> When can we expect a release of 1.1.2? Specifically I'm hoping to get
> a test bug fixed - http://code.djangoproject.com/ticket/12720
Barring unforeseen circumstances, a 1.1.2 release will probably
accompany the release of Django 1.2.
In the meantim
On Mon, Mar 15, 2010 at 8:45 AM, Ken Lacey wrote:
> Using request.META['REMOTE_ADDR'] I get an error
>
> Exception Type: TemplateSyntaxError
> Exception Value: Could not parse the remainder: '['REMOTE_ADDR']' from
> 'request.METTA['REMOTE_ADDR']'
>
>
> How do I get over this?
The Django template
On Tue, Mar 23, 2010 at 10:21 AM, Vinicius Mendes | meiocodigo.com
wrote:
> integrated to the framework. I think the queryset should keep track of
> it self. It knows what is the filter, so why can't it negate this
> filter?
Given an already-existing QuerySet which has already had all the
filters
On Tue, Mar 23, 2010 at 3:57 PM, jrs wrote:
> It is precisely due to this that I'm surprised the ORM has
> cascading deletes on by default. Seems to me that cascades should
> only happen when the app developer specifies, not the other way
> around... it's dangerous and I'm certain that many devel
On Thu, Mar 25, 2010 at 11:28 AM, Bobby Roberts wrote:
> it is in the template an the traceback thrown is:
>
> 'if' statement improperly formatted
The documentation states:
> New in Django Development version.
> if tags may also use the operators ==, !=, <, >, <=, >= and in which work as
> foll
On Fri, Apr 2, 2010 at 4:26 AM, knight wrote:
> 1.) I get error: "'Query' object has no attribute 'all'" on line 59 in
> views.
> As I understand it's something to do with the fact that GAE queryset
> is different from django queryset.
> How can I fix that?
By reading the documentation Google pro
On Wed, Apr 7, 2010 at 11:25 PM, yangyang wrote:
> I mean the tutorial only tells you "edit settings" but doesn't tell
> you how. Excuse me if this is obvious to most of people.
Part 1 of the tutorial, under "Database setup", says:
> Now, edit settings.py. It's a normal Python module with module
On 6/6/07, ringemup <[EMAIL PROTECTED]> wrote:
> If I've got a form_for_model but I've excluded some fields from it
> entirely (because I don't want people to be able to find the values in
> hidden fields, or even try to submit them), how do I set values back
> for those fields before saving the d
On 6/8/07, Dushyant Sharma <[EMAIL PROTECTED]> wrote:
> come on somebody pl. reply
Please don't do this.
Sometimes it takes a little while -- maybe even a day or so -- for
someone to read through and figure out how to help you with your
problem, and quickly posting followups like this won't spee
On 6/6/07, Andrew R <[EMAIL PROTECTED]> wrote:
> whereas I just want it to import "javadoc_filter" from my current dir. I'm
> sure
> this is by design in django but there must be a way around it.
This is one of the tricky bits of Django that you don't often see.
Django needs to have some consist
On 6/9/07, Andrew R <[EMAIL PROTECTED]> wrote:
> I think a better long term solution is something like:
>
> Template.add_templatetags_file('filename.py')
>
So long as your code is in a location where your code can be imported
by Python, there is another way; there are a couple of undocume
On 6/9/07, Mike Schinkel <[EMAIL PROTECTED]> wrote:
> Is there any chance the owners of this list could modify the configuration
> so that the emails contain [django-users] in the subject line? It would
> make it so much easier to deal with the volume of email if this could be
> done.
I'm not tr
On 6/9/07, Mike Schinkel <[EMAIL PROTECTED]> wrote:
> Thanks for the warm welcome to a new list member.
I'm sorry if it sounded rude; again, I wasn't trying to pick on you,
but it's also hard to articulate this without sounding like an
asshole. It's kind of a lose-lose situation.
This list has t
On 6/9/07, Mike Schinkel <[EMAIL PROTECTED]> wrote:
> Ironic. I was asking for a method that would help me make the list more
> managable, and have been told "no." Ironic because it will likely cause me
> to leave before I can really learn more about Django, my reason for wanting
> to get on the l
201 - 300 of 1799 matches
Mail list logo