where can I see these files - which affect base.html?
thks
On Jun 9, 12:14 pm, Necmettin Begiter
wrote:
> On Tue, Jun 9, 2009 at 09:29, vishy wrote:
> > Without using base.html, they rendered differently(in terms of
> > position) in browser.
>
> Which is normal, because base.html contains some p
The only log entries I want committed are the ones that tell me why a
roll-back occurred. What you've said below sounds like a good enough
solution, thanks for all your input.
Cheers,
Chris
On Mon, Jun 8, 2009 at 11:38 PM, Karen Tracey wrote:
> On Mon, Jun 8, 2009 at 5:39 AM, Chris Stoyles wro
Do you run more than one instance of Django on the same machine,
whether they be production or development systems?
If you run multiple Django instances and they run as different users,
as would often be case where running development Django on same box
and production runs as Django, it is bad pr
Hi folks --
I have a model that needs additional processing done every time an
instance is saved, so I've hooked up a handler to the post_save
signal. The post_save handler will throw an exception if anything
goes wrong.
When the user saves a model from contrib.admin, I want the exception
to be
I'm new to programming and can't figure out how to properly render the
{{comment}} and {{username}} variables in the element
below using jquery and the ajax form plugin. Everything posts to the
database just as it should. However, I want to show what gets posted
in the template after submission.
On Tue, Jun 9, 2009 at 4:51 PM, joshm wrote:
>
> Here is a link to a screenshot of the traceback, unfortunately I don't
> have more than that for right now...
>
> http://img25.imageshack.us/img25/8711/tracem.png
>
This is happening on your production server, and you have DEBUG set to True
so ar
So what do these filters (humanise, typogrify) do?
I would suggest a truncatesentences, to go along with truncatewords
Daniele Procida wrote:
> I'm doing a demo of some of our Django work soon. Partly, it'll be a
> showcase for Django. One thing I'd like to do is demonstrate Django's
> template
Hmm. Sorry. I see it, for this list. But is there a way for the
Snippets?
On Jun 10, 6:12 am, adelaide_mike wrote:
> Is there a way to search for a word in the Subject line or the text of
> posts to this group? Same with the list of snippets. Scanning twenty
> at a time (out of 1500 or more
Thanks, I have done:
http://code.google.com/p/django-tinymce/issues/detail?id=45
HTH
Dan
2009/6/9 patrickk :
>
> I´m actually not sure whether or not your saying there´s an error with
> the filebrowser-templates ... because I don´t know what you mean with
> "the tinymce filebrowser template".
>
I´m actually not sure whether or not your saying there´s an error with
the filebrowser-templates ... because I don´t know what you mean with
"the tinymce filebrowser template".
if you think you´ve found an error, please use the google-code issue-
tracker to report it.
thanks,
patrick
On Jun 9,
On Jun 9, 10:07 pm, adelaide_mike wrote:
> Hi
> I need to store additional info about my users. The following in
> models.py raises a name error due to User. Have tried auth_users and
> Users as well. No joy.
>
> class User_settings(models.Model):
> user = models.ForeignKey(U
Is there a way to search for a word in the Subject line or the text of
posts to this group? Same with the list of snippets. Scanning twenty
at a time (out of 1500 or more) seems a long way to see what exists.
Mke
--~--~-~--~~~---~--~~
You received this message be
hi sam,
it seems that the js to select the image isn´t loaded (see
http://code.google.com/p/django-filebrowser/source/browse/trunk/filebrowser/templates/filebrowser/index.html,
line 10 to 14 - probably line 12).
please (re)check the "available settings" for the filebrowser -
especially the diffe
Hi
I need to store additional info about my users. The following in
models.py raises a name error due to User. Have tried auth_users and
Users as well. No joy.
class User_settings(models.Model):
user = models.ForeignKey(User,unique=True)
current_date = models.
Hello,
I am new to django, any help would be appreciated.
I got admin backend part working
class Thing(models.Model):
poll = models.ForeignKey(Poll) # assigning specific image for each
question
name = models.CharField(blank=False, null=False, max_length=30)
photo = models.ImageField(u
Here is a link to a screenshot of the traceback, unfortunately I don't
have more than that for right now...
http://img25.imageshack.us/img25/8711/tracem.png
On Jun 9, 11:28 am, joshm wrote:
> I will try to get a traceback, as I said it happens intermittently and
> I have only had screen shots
On Tue, Jun 9, 2009 at 3:44 PM, David Durham wrote:
> On Thu, Jun 4, 2009 at 8:54 AM, SlafS wrote:
>>
>> Hi!
>>
>> I'm trying to run Django app with mod_wsgi and Oracle, but when I try
>> to configure it I always get an internal server error (500) with this
>> error.log:
>>
>> ImproperlyConfigured
On Thu, Jun 4, 2009 at 8:54 AM, SlafS wrote:
>
> Hi!
>
> I'm trying to run Django app with mod_wsgi and Oracle, but when I try
> to configure it I always get an internal server error (500) with this
> error.log:
>
> ImproperlyConfigured: Error loading cx_Oracle module: libclntsh.so.
> 11.1: cannot
2009/6/9 nostradamnit :
>
> Hello,
>
> I've successfully implemented TinyMCE and filebrowser for flatpages,
> however, I can't seem to select the images that are displayed in
> filebrowser. If I click on the image, it just serves the image?!? How
> do you use it to select the image to insert into
Have you tried this yet?
info_dict = {
'queryset': Entry.objects.order_by(-featured),
'date_field': 'pub_date'
}
urlpatterns = patterns('django.views.generic.date_based',
...
(r'^$', 'archive_index', info_dict),
)
I haven't checked whether or not it works, but it seems like it'd do
t
Hi,
I have a form with two TextInput fields
link_name and tag_list. Form is submitted using dojoType button
Save
Problem is after submit both TextInput fields remain empty and django
raises required field true exception.
Is there any problem with dojo submit button or something wrong in t
You can do
Users.objects.exclude(project__owner__isnull=True,
other__model__isnull=True).distinct()
~Jakob
On Jun 9, 7:49 pm, Streamweaver wrote:
> I have two models with Foreign Key relationships to Users and what I'm
> looking to do is reterive a unique list of u
On Thu, Jun 4, 2009 at 9:19 AM,
adelaide_mike wrote:
>
> My latest problem can be illustrated thus:
>
> In the first form we select the main course - spam or eggs. In the
> next form we select the dessert - ice cream or mud cake, and in the
> third form we select the after-dimmer drink - tea or c
I will try to get a traceback, as I said it happens intermittently and
I have only had screen shots sent to me, I will try to get one of
those up.
On Jun 9, 9:37 am, Karen Tracey wrote:
> On Tue, Jun 9, 2009 at 12:27 PM, joshm wrote:
>
> > Try one more time...anyone? I know that perhaps this
UGHHH! I feel like an idiot. I actually had simply misplaced a comma
on the first attribute that came from inheritance, so I thought that
when it couldn't find the inherited field but it could find the
others, that it was an inheritance problem. Seems to be working now.
I had to step away from
Thanks so much for explaining, Russ.
I am going to print this out so I can fully wrap my head around it.
Home > App > Model > Instance
I'm new to the concept of models, this is a big help.
Wendy
On Jun 9, 6:59 am, Russell Keith-Magee wrote:
> On Tue, Jun 9, 2009 at 8:34 AM, zignorp wrote:
>
>
I caught the OR lookups documentation and this seems to work.
u = User.objects.filter(project__owner__isnull=False).distinct() |
User.objects.filter(release__owner__isnull=False).distinct()
On Jun 9, 2:02 pm, mw wrote:
> Hello,
>
> I have a class full of common information such as email, name,
Hello,
I have a class full of common information such as email, name, and
etc, that multiple other models inherit. Everything works fine except
for the customizing of the admin interface. For example, in a setup
such as:
class CommonStuff(models.Model):
email = models.EmailField(...)
clas
I have two models with Foreign Key relationships to Users and what I'm
looking to do is reterive a unique list of users from both Models.
class Project(models.Model):
owner = models.ForeignKey(User)
class Release(models.Model):
owner = models.ForeignKey(User)
I know I can retrieve a dis
I haven't toyed with the debugging tool yet. Thanks for the suggestion
-- I'll let you know how it woks out.
On Jun 8, 4:48 pm, Jashugan wrote:
> On Jun 4, 2:45 pm, Matt wrote:
>
> > It looks like you're right and the login page isn't actually logging
> > users in.
>
> > Any idea why that might
I would suggest you create template directory inside your project. Otherwise
Daniel's point is correct.
On Tue, Jun 9, 2009 at 4:44 AM, Daniel Roseman <
roseman.dan...@googlemail.com> wrote:
>
> On Jun 9, 11:21 am, Jipe wrote:
> > Hi all,
> > I 'm trying to use the Django Tutorial 3 for beginner
On Tue, Jun 9, 2009 at 12:27 PM, joshm wrote:
>
> Try one more time...anyone? I know that perhaps this may be more of a
> python/config question but anyone that might be able to point me in
> the right direction?
>
Perhaps if you provided the full tracback of the error someone might be able
to
Try one more time...anyone? I know that perhaps this may be more of a
python/config question but anyone that might be able to point me in
the right direction?
On Jun 8, 10:23 am, jmat wrote:
> I'm getting an error using Django 1.0 when trying to log a new user
> in. When I call
>
> login(reque
Strike all that, I made a mistake which is very clear on the test case
but wasn't so in the original code.
Philippe
On 9 juin, 18:00, Philippe Raoult wrote:
> Hello all,
>
> I've been hunting for a bug in my generic search form and it boils
> down to this: I (wrongly) expected chained filters
Hello all,
I've been hunting for a bug in my generic search form and it boils
down to this: I (wrongly) expected chained filters to behave as if
they were AND'd and they sometimes behave as OR'd. That was a bit
puzzling for me since the documentation seems to indicate that AND
would be the logica
Perfect!
I read about the context processors before and that's why I originally
opted to use RequestContext (if only for the 'user' variable being
accessible everytime). Adding my own context processor for this
particular case hadn't cross my mind. Everything now works exactly as
I would like it
Perfect!
I read about the context processors before and that's why I originally
opted to use RequestContext (if only for the 'user' variable being
accessible everytime). Adding my own context processor for this
particular case hadn't cross my mind. Everything now works exactly as
I would like it
Perfect!
I read about the context processors before and that's why I originally
opted to use RequestContext (if only for the 'user' variable being
accessible everytime). Adding my own context processor for this
particular case hadn't cross my mind. Everything now works exactly as
I would like it
Thanks Alex. Then I do not make any modifications.
Have a great day.
On Jun 9, 8:29 am, David wrote:
> Actually I have already created a "userProfile" that extends User. In
> the "userProfile" I have "sms". However, this makes me have an extra
> table though it works.
>
> I just wonder if I sh
Actually I have already created a "userProfile" that extends User. In
the "userProfile" I have "sms". However, this makes me have an extra
table though it works.
I just wonder if I should modify the original view or just use this
userProfile to extend.
On Jun 9, 8:22 am, David wrote:
> Hi,
On Tue, Jun 9, 2009 at 11:22 AM, David wrote:
>
> Hi,
>
> I am in a position of "/admin/auth/user/", where it lists a user's
> username, e-mail address, first name, last name and staff status. The
> title of this page is "Select user to change". If I click a user's
> username, then I am transferr
Hi,
I am in a position of "/admin/auth/user/", where it lists a user's
username, e-mail address, first name, last name and staff status. The
title of this page is "Select user to change". If I click a user's
username, then I am transferred to "Change user" webpage.
I checked /django/contrib/auth
Hello,
I've successfully implemented TinyMCE and filebrowser for flatpages,
however, I can't seem to select the images that are displayed in
filebrowser. If I click on the image, it just serves the image?!? How
do you use it to select the image to insert into TinyMCE? if I paste
the path from the
Quick question. In my syndication feed framework code,
http://docs.djangoproject.com/en/dev/ref/contrib/syndication/
what is the best way to get access to the session? I don't have
access to the request, and I can't use
from django.contrib.sessions.backends.db import SessionStore
as I don't
Hi,
I present for you, a half-implemented, possibly buggy implementation of the
text-file based blogging engine PyBloxsom, re-done in Django. Maybe this will
be useful to someone else who has a pybloxsom blog and wants to transition to
something more manageable/hackable (with no offense to the Py
"Did MediaTemple change something about the file system you have
access to? It sounds like they must have changed something so that
the file locking code that used to work for your setup is no longer
working."
That is what it sounds like to me, however they we're not much help.
I'll reach back o
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 in the admin tool I get a proxy
> error. The following is the part of the traceback that gets emailed to
> me.
>
> Traceback (most r
No, you have to save self before you can add categories to it, because
you can't save an M2M if either object is missing a primary key.
In any case, it turns out that the reason is that the admin saves the
submitted M2M data after the save() method is called on the main
model. So it erases and
On Tue, Jun 9, 2009 at 8:34 AM, zignorp wrote:
>
> Hello,
> I'm getting going with the tutorial, it's so exciting to see the admin
> panel, but I've got a problem with the breadcrumbs.
> So I'm working from this page:
> http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02
> and
I am running on a MediaTemple Django container with the SVN version of
Django. When I try and upload a image in the admin tool I get a proxy
error. The following is the part of the traceback that gets emailed to
me.
Traceback (most recent call last):
File "/home/58124/data/python/django/django/c
import sys, codecs, locale
sys.stdout = codecs.getwriter(locale.getpreferredencoding())
(sys.stdout)
or you can hard-code locale.getpreferredencoding() as 'utf-8'
On Jun 7, 2:19 am, "Carlos A. Carnero Delgado"
wrote:
> Hi there!
>
> I'm having a problem with a custom management command. Running
I think people got off on the wrong foot. It's perfectly normal to
confuse CMS and Framework.
Django is not a CMS but you can build a powerful, no-fluff CMS with
it. From personal experience, it's worth learning enough Python to
build upon Django. And that beats working with Joomla (which I find
Aha!
I will try that when i get back home.
Thanks!
Alan
On Jun 9, 2:50 pm, Karen Tracey wrote:
> On Tue, Jun 9, 2009 at 2:19 AM, zayatzz wrote:
>
> > Well thats what i was complaining about in the beginning that i could
> > use good example of how to do it. Its quite confusing how form
> > v
On Tue, Jun 9, 2009 at 2:19 AM, zayatzz wrote:
>
> Well thats what i was complaining about in the beginning that i could
> use good example of how to do it. Its quite confusing how form
> validation is on one page, errors on the others and views on third and
> there is not single full example.
>
On Jun 9, 11:21 am, Jipe wrote:
> Hi all,
> I 'm trying to use the Django Tutorial 3 for beginners.
> I've met some problems.
> Until you have to work with the template and index.html, it's ok
> But when i try to make appear detail.html who is in the same template
> directory as index.html, no wa
Hi all,
I 'm trying to use the Django Tutorial 3 for beginners.
I've met some problems.
Until you have to work with the template and index.html, it's ok
But when i try to make appear detail.html who is in the same template
directory as index.html, no way...
It tolds me page not found...
I really d
Hi all,
I have two models related with a foreign key like these :
CODE ---
class Reservation(models.Model):
some fields here ...
class Periodicite(models.Model):
some fields here
# rep_opt is a fake suite of bits, where each bit re
Hi,
> defsave(self, *args):
> models.Model(save, *args)
> category = Category.objects.all()[0]
> self.categories.add(category)
>
> This does not work, I'm sure it's saving ManyToMany relationships
> later on in thesaveprocess. Is there a way to make this work?
>
IMHO, it's make sense :
sorry I confused the web hosts
this one is using mod_python and nothing else
--~--~-~--~~~---~--~~
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
It would be easier if you told us how skilled you are in
html
css
javascript
any other programming or server side scripting languages
I would chose django but django is not a cms where you grab a theme
from somewhere and install a couple of modules.
--~--~-~--~~~--
Hi all
I was struggling to turn a typical template dictionary iteration use
case into a sorted dictionary iteration, and struggling to find any way
of managing it.
Eg:
{% for key, val in tdict.items %}{% endfor %}
After perusing docs, and the internet, it seemed like there was no
straightf
Hi,
I need to use some kind of box (thickbox or other) popping up in front
of any page that a user is redirected to after successfully
registering a new account. The user gets redirected to the page she
initially opened before being sent to the registration form. So it
could be any page on the si
Hello,
I have a strange behaviour when trying to connect to an smtp server
(or any external url for that matter using urrlib).
My host uses Red Hat 4.1.2-14 with Python 2.4.3
Running django under FastCGI
Test code is very simple
import smtplib
smtp = smtplib.SMTP()
smtp.connect('smtp.mydomain.c
On Jun 9, 3:11 am, ariest wrote:
> Im developing a childcare app and I have a problem when I want to
> relate an object of a table with a UserProfile field so for example:
>
> user:some_parent
>
> In a view, I want to see only the childs of that parent.
>
> In python manage.py shell:
>
> -Example
invalid.
On Jun 8, 5:47 am, "Liubomir.Petrov"
wrote:
> Update: My mistake, seems that only ManyToManyField is not working.
> Also posted a ticket here:http://code.djangoproject.com/ticket/11279#comment:2
>
> On Jun 8, 3:14 am, Lyubomir Petrov wrote:
>
> > Example:
> > class Product(models.Model
On Jun 9, 5:23 am, EricR86 wrote:
> Hello,
>
> I have a small issue in terms callable objects inside of contexts. I'm
> having trouble figuring out how to have the call evaluated everytime
> the context is used/rendered. An example:
>
> some_context = {
> 'random': random(),
>
> }
>
> def som
On Tue, Jun 9, 2009 at 09:29, vishy wrote:
> Without using base.html, they rendered differently(in terms of
> position) in browser.
Which is normal, because base.html contains some positioning and CSS attached.
--~--~-~--~~~---~--~~
You received this message becau
67 matches
Mail list logo