I have over 25 web apps/sites on Django, including a large intranet
app, that has almost always about 150 users at any point of time, some
25,000 hits a day. All of them have been running on the trunk and are
stable. Some of them are news sites for mags getting 10 k hits a day.
It is any day
Weird problem,
I am doing just fine when accessing /bug2/title/1.html?a=r through the
browser.
I fail with HTTP 404 when doing the same through the test client - it
seems to chock on the ?a=r bit, the /bug2/title/1.html works just
fine ...
Relevant url pattern:
Hello all,
I just recently started playing around with django, and I am
interested in using it to create a site I have in mind. I would
appreciate any help in understanding if I have wrapped my head around
the idea of projects and apps properly.
Basically, the site would have a main page that
Hi,
Sending HTML as an attachment means that the HTML version will be
displayed by email client that are configured so, including all the
web-based clients like GMail. Clients that can't show HTML or are
configured not to show HTML will show the text version instead.
This is therefore best
is there a way in Django to send an actual HTML email? I can only get
it to send as an attachment to a text email which is really pointless
in my opinion.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
> for key in request.session:
> del request.session[key]
I get the following error:
Exception Type: KeyError
Exception Value:0
Exception Location: /usr/lib/python2.5/site-packages/django/contrib/
sessions/backends/base.py in __getitem__, line 31
On Wed, 2008-07-02 at 18:23 -0700, David Melton wrote:
> I would like to be able to change the status of an item (Yes/No Field)
> in a list of items from the change-list view without having to open
> the item and change it within the change form. Is there an easy way
> (built in) to the Django
On Jul 2, 10:20 pm, David Marko <[EMAIL PROTECTED]> wrote:
> I'm just considering using SQLite in small Django project(in
> production environment). I have no fear about performance but what
> troubles me is whether SQLite can be used in environment like Apache
> +mod_wsgi? As SQLite is file
Great!
On Wed, Jul 2, 2008 at 8:43 PM, J Meier <[EMAIL PROTECTED]> wrote:
>
> Thank you, everyone. That was exactly what I needed. It looks like
> we'll be starting a prototype on Django trunk targeting 1.0 this week.
>
> Jim Meier
> >
>
--
http://search.goldwatches.com/?Search=Movado+Watches
OK, done - http://dpaste.com/hold/60475/
Chris
On Jul 3, 6:01 am, "Milan Andric" <[EMAIL PROTECTED]> wrote:
> Can you paste your template athttp://dpaste.comso we can have a look?
>
> On Wed, Jul 2, 2008 at 11:10 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > : ) absolutely! It's in
I would like to be able to change the status of an item (Yes/No Field)
in a list of items from the change-list view without having to open
the item and change it within the change form. Is there an easy way
(built in) to the Django admin framework to allow this?
On Wed, 2008-07-02 at 13:40 -0700, urukay wrote:
>
> is there a way how to create choices in Models in specific way, that some
> choices are not selectable (they only group and describe choices below)?
>
> e.g.:
>
> CHOICES = (
> ('0', 'Basic Colors'),
> ('1', 'Red'),
> ('2',
On Wed, 2008-07-02 at 11:49 -0700, [EMAIL PROTECTED] wrote:
> Thanks guys. I know how to do it via the admin, wasn't sure if I was
> "missing" something within Django to handle it :)
>
> Kind of off topic, but say myapp is named myapp, then in the heading
> the admin will be displayed Myapp
thanks, but i was wondering if it's possible to do that in MODEL?
Rajesh Dhawan wrote:
>
>
>
>
> On Jul 2, 4:40 pm, urukay <[EMAIL PROTECTED]> wrote:
>> is there a way how to create choices in Models in specific way, that some
>> choices are not selectable (they only group and describe
Thank you, everyone. That was exactly what I needed. It looks like
we'll be starting a prototype on Django trunk targeting 1.0 this week.
Jim Meier
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
On Wed, Jul 2, 2008 at 10:14 PM, Norman Harman <[EMAIL PROTECTED]> wrote:
>
> Test system creates a new test database from scratch every time it is
> run. manage.py loaddata has NO effect on test.
>
> I could be wrong but I don't believe test runner automatically loads the
> fixture
Hi,
>
> Is there somewhere I should be looking where I'm not? Some kind of
> built in rewriter?
Have you considered using Apache mod_rewrite instead of trying to
solve this at the application layer?
http://httpd.apache.org/docs/2.0/rewrite/rewrite_guide.html
Lighttpd and nginx also have
look up context processors
On Jul 2, 4:31 am, pihentagy <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have an auction site, the items appear in more views (and there are
> more items in a view), and I would like to allow users to bid on every
> view.
> I have done it somehow, but I think that solution
On Jul 2, 4:40 pm, urukay <[EMAIL PROTECTED]> wrote:
> is there a way how to create choices in Models in specific way, that some
> choices are not selectable (they only group and describe choices below)?
>
> e.g.:
>
> CHOICES = (
> ('0', 'Basic Colors'),
> ('1', 'Red'),
> ('2',
i was going to say state a question, but found my answer...
for anyone else:
http://www.djangoproject.com/documentation/db-api/#querysets-are-lazy
On Jul 2, 10:09 am, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> Alex Koshelev wrote:
> > Or may be a custom template tag for common stuff.
>
> Or
Hi Greg,
On Jul 2, 5:29 pm, "Grzegorz Dostatni" <[EMAIL PROTECTED]> wrote:
> I'm writing a django application (postgresql db) that needs to deal with
> input both from GUI (webserver) and commandline (parsing text input).
>
> I've got a model defined where I explicitly define the id field using:
Can you paste your template at http://dpaste.com so we can have a look?
On Wed, Jul 2, 2008 at 11:10 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> : ) absolutely! It's in an entry template. I've tried the same thing
> in other templates as well (a gallery page, a photo page...) and the
>
On Jul 2, 5:33 pm, Ross Dakin <[EMAIL PROTECTED]> wrote:
> Followup to clarify.
>
> If you DON'T use a is_longdistance flag in the model, then you use a
> set of rules to determine if a number is long distance when you get
> the number out of the db.
Sure. Now what if the set of rules you need
You might want to refer to this recent article at Coding Horror:
http://www.codinghorror.com/blog/archives/001016.html
I would stick to what you have.
(and I would also only do the calculation once and store it as a
boolean field in the database as suggested : )
John
On Jun 30, 7:13 am,
Sorry, still not working. I get:
__init__() got an unexpected keyword argument 'widgets'
Is that because widgets isn't a parameter to __init__ ? (I'm still getting to
grips with python, it's so much more expressive than the Java I'm used to!)
My code is:
collection_datetime =
Hi Rajesh,
Certainly, best practices are subject to your goals: code
maintainability, storage efficiency, execution efficiency, etc.
I agree, there are times when it makes sense to store calculated
values in a database. I would argue, however, that this inhibits
scalability. As a system grows,
Followup to clarify.
If you DON'T use a is_longdistance flag in the model, then you use a
set of rules to determine if a number is long distance when you get
the number out of the db.
You can avoid this by using a is_longdistance flag in the model, but
you're going to have to do the same thing
I'm writing a django application (postgresql db) that needs to deal with
input both from GUI (webserver) and commandline (parsing text input).
I've got a model defined where I explicitly define the id field using:
id = models.AutoField(primary_key = True)
When I'm creating a new entry, is
Hi Ross,
> I would disagree here. The database should only be used to store raw
> data; the database should not know anything about this data (the
> database should not be "smart").
>
> Determining whether or not a number qualifies as "long distance" is a
> job for the domain / controller / view
Have a look at the source (widgets.py in newforms):
class SplitDateTimeWidget(MultiWidget):
"""
A Widget that splits datetime input into two boxes.
"""
def __init__(self, attrs=None):
widgets = (TextInput(attrs=attrs), TextInput(attrs=attrs))
> If you have the ability to change your Call model, you should consider
> adding a new BooleanField called "is_long_distance" to Call. Then, you
> only have to compute it (in Call.save()) when you save or change a
> number. That will make your query very simple and efficient.
>
> -Rajesh D
I
Thanks.
I've got the class in the html but not the buttons for the date or time popup.
I also have two date popups and I think I should have one that has the class
vTimeField not vDateField.
collection_datetime =
forms.SplitDateTimeField(widget=forms.SplitDateTimeWidget({'class':'vDateField
Sorry, I was a little too quick. I used it like this:
date =
forms.DateField(label=_("Date"),widget=forms.DateTimeInput(attrs={'class':'vDateField'}))
I am not sure on how to do this on a SplitDateTimeField though.
On Wed, Jul 2, 2008 at 10:52 PM, Tim Sawyer <[EMAIL PROTECTED]>
wrote:
>
>
Sorry, I don't understand where I have to put the attrs bit.
Can you give me an example?
delivery_datetime = forms.SplitDateTimeField(attrs={'class':'vDateField'})
doesn't work, is that what you meant?
Thanks,
Tim.
On Sunday 29 Jun 2008, TiNo wrote:
> add:
>
>
> >
>
>
On Wed, 2008-07-02 at 11:52 -0700, Bobby Roberts wrote:
> > On Jul 2, 2:50 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote:
> > You mean in the views?
> >
> > del request.session['somedata']
>
> Well If i have 15 session variables I don't want to have to do it for
> each variable.
>
for key in
On Wed, Jul 2, 2008 at 11:30 AM, Fernando Rodríguez <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'd like to use WingIDE's own python shell with django, instead of the
> terminal you get with manage.py shell.
>
> However, if I try to eval a file form within Wing, I get this error:
>
> Traceback (most
On Wed, Jul 2, 2008 at 12:21 PM, Molly <[EMAIL PROTECTED]> wrote:
>
> I added ImageField to my models like this:
>
>
> photo = models.ImageField("Photograph", upload_to='media/images',
> blank=True,null=True)
>
is there a way how to create choices in Models in specific way, that some
choices are not selectable (they only group and describe choices below)?
e.g.:
CHOICES = (
('0', 'Basic Colors'),
('1', 'Red'),
('2', 'Green'),
('3', 'Blue'),
('4', 'Other Colors'),
('5',
You can check my dump of manage.py test (ran as root) here;
http://dpaste.com/60433/
As you can see the fixture load runs OK... and I even got a couple of
errors on the load process! That sure confirms the fixtures load ;-)
Tests run fine though.
On Jul 2, 4:14 pm, "Norman Harman" <[EMAIL
On Wed, Jul 2, 2008 at 2:23 PM, Dan Lazewatsky <[EMAIL PROTECTED]> wrote:
>
> Is there any way to add a group to another group, similarly to how you
> would add a user to a group. For example, let's say I have four groups:
> Undergraduates, Grad Students, Faculty and Staff, and there are a bunch
solved
urukay wrote:
>
> Hi,
>
> right now I'm working on one model and it looks like this
>
> class Area(models.Model):
>
> region = models.CharField(max_length = 2, choices =
> SLOVAK_REGION_CHOICES, radio_admin = True, db_index = True, blank = True,
> null = True)
>
Hi,
right now I'm working on one model and it looks like this
class Area(models.Model):
region = models.CharField(max_length = 2, choices =
SLOVAK_REGION_CHOICES, radio_admin = True, db_index = True, blank = True,
null = True)
city = models.CharField(max_length = 4,
That worked!
Thanks,
Sameer
On Jul 2, 10:57 am, "Scott Moonen" <[EMAIL PROTECTED]> wrote:
> Sameer, if you are using the RequestContext object to produce the template
> context, then you should be able to access the URL parameters in your
> template as request.GET.*parametername*. In this
Let me preface that this is not a question about translating flatpage
content.
I have a project created in english and I've had someone create
Romanian translations for the necessary strings. Most of these are
just menu text, titles, etc -- all of the actual content on the site
will be created
Hey Brian - I wasn't sure that the fact that it was inline would have
an effect - I see now that it does - sorry for the incomplete first
post.
I just found it odd that what I was doing worked for ``clean`` but not
``save``.
I'll look into Formsets.
Richard - I'm sure I could do it that way -
Is there any way to add a group to another group, similarly to how you
would add a user to a group. For example, let's say I have four groups:
Undergraduates, Grad Students, Faculty and Staff, and there are a bunch
of permissions that will always be the same for Undergraduates and Grad
I am just guessing, but try:
request.session.clear()
2008/7/2 Bobby Roberts <[EMAIL PROTECTED]>:
>
>> On Jul 2, 2:50 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote:
>> You mean in the views?
>>
>> del request.session['somedata']
>
> Well If i have 15 session variables I don't want to have to do
You may be able to do what you want to by overriding the save() function
within the model. If you need any information from the form or related
object you could pass them as kwargs to save.
http://www.djangoproject.com/documentation/model-api/
-richard
On 7/2/08, Brian Rosner <[EMAIL
> On Jul 2, 2:50 pm, "Juanjo Conti" <[EMAIL PROTECTED]> wrote:
> You mean in the views?
>
> del request.session['somedata']
Well If i have 15 session variables I don't want to have to do it for
each variable.
Is there something like del request.session.sessionid or something
that will kill all
You mean in the views?
del request.session['somedata']
2008/7/2 Bobby Roberts <[EMAIL PROTECTED]>:
>
> i can't find a way to delete session data (other than user removing
> their cookie perhaps?) in the django docs. Is there an easy way to do
> this like in ASP?
> >
>
--
Juanjo Conti
Thanks guys. I know how to do it via the admin, wasn't sure if I was
"missing" something within Django to handle it :)
Kind of off topic, but say myapp is named myapp, then in the heading
the admin will be displayed Myapp with the model items below it. Other
than customizing the admin template
On Jul 2, 2008, at 12:22 PM, John Boxall wrote:
> class OptionModelForm(forms.ModelForm):
>
> class Meta:
> model = Option
>
> def save(self, commit=True):
> # Will -NEVER- run
> assert False
>
> def clean(self):
> # Will
Hey everyone -
I'm running into a bit of a problem with NFA.
I would like to override the save method of an inline model.
For example -
I have a Poll which many Options.
In the admin panel I would be able to edit the Options while editing
the Poll so I declare the Poll to have the Options as
i can't find a way to delete session data (other than user removing
their cookie perhaps?) in the django docs. Is there an easy way to do
this like in ASP?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Also ensure that you have imported those models into your apps models.py
from django.contrib.auth.models import User
from django.contrib.contenttypes.models import ContentType
os some such import statement should be at the top of your models.py
-richard
On 7/2/08, Brian Luft <[EMAIL
Do you have 'django.contrib.auth' and 'django.contrib.contenttypes' in
your INSTALLED_APPS setting?
On Jul 2, 10:20 am, Fernando Rodríguez <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm learning django with "the definitve guide to django". On chapter 6,
> I tried to activate the admin interface fro
Sameer, if you are using the RequestContext object to produce the template
context, then you should be able to access the URL parameters in your
template as request.GET.*parametername*. In this case, request.GET is a
QueryDict object (see
Hi All,
Is there a standard way to access the URL parameters in the Django
templates? I can write a template tag to do that, but I was hoping I
could avoid it.
Thanks,
Sameer.
--
http://www.maggon.com
--~--~-~--~~~---~--~~
You received this message because you
I added ImageField to my models like this:
photo = models.ImageField("Photograph", upload_to='media/images',
blank=True,null=True)
I "import Image" in my
Hi,
I'm learning django with "the definitve guide to django". On chapter 6,
I tried to activate the admin interface fro the "books" app, by adding
django.contrib.admin to the INSTALLED_APPS and then calling manage.py
syncdb.
It failed with the following error:
Hi,
I'd like to use WingIDE's own python shell with django, instead of the
terminal you get with manage.py shell.
However, if I try to eval a file form within Wing, I get this error:
Traceback (most recent call last):
File "/home/fernando/", line 1, in
File
Aah, ok. I think this might work:
exclude(number_iregex = r'^(1?(281|832|713|800).*|.{,6})$')
That excludes anything that matches your existing pattern or which is
exactly six characters or less. Please be sure to test it though as this is
off the cuff. :)
-- Scott
On Wed, Jul 2, 2008 at
hey Scott, that worked perfectly thanks
On Jul 2, 11:16 am, mike171562 <[EMAIL PROTECTED]> wrote:
> Scott,
>
> Thanks, I'm already using long_distance =
> call.exclude(number__iregex=r'^1?(281|832|713|800)')
> to filter long distance numbers so, the new regex would be
>
> something like
Scott,
Thanks, I'm already using long_distance =
call.exclude(number__iregex=r'^1?(281|832|713|800)')
to filter long distance numbers so, the new regex would be
something like iregex=r'^1?(281|832|713|800)^.{7,}')
does that look right?
On Jul 2, 11:04 am, "Scott Moonen" <[EMAIL PROTECTED]>
: ) absolutely! It's in an entry template. I've tried the same thing
in other templates as well (a gallery page, a photo page...) and the
same.
I don't get any error messages at all. The page loads fine. If I
change the syntax of the {% free_comment_form ... %}, for example by
introducing a
Mike, you might try this:
call.filter(number__regex = r'^.{7,}')
That uses a regular expression that matches strings of length 7 characters
or more.
-- Scott
On Wed, Jul 2, 2008 at 11:59 AM, mike171562 <[EMAIL PROTECTED]>
wrote:
>
> hello,
>I am working on a web app that pulls call
hello,
I am working on a web app that pulls call logs from a database
and displays them. I am working with the greater than and less than
functions to filter out phone numbers less than 7 digits long i.e.
internal extensions. When I use something like
call.filter(number__gte=7) however,
is_empty() was indeed what I was looking for. :)
For the time being I got it working using
any(form.cleaned_data.values())
Thanks for your great help!
2B
On Jul 2, 5:02 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Wed, 2008-07-02 at 07:58 -0700, Berco Beute wrote:
> > I have multiple
Followup: This bug is fully fixed on the newforms_admin branch.
Thanks for the help!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
I figured out the puzzle:
self.fields['state'] = forms.CharField(required=False,
widget=forms.HiddenInput(), initial=self.instance.state)
Still open to feedback since I'm new to Django.
On Jul 2, 11:19 am, Huuuze <[EMAIL PROTECTED]> wrote:
> I use the following code to disable a ModelForm
On Wed, Jul 2, 2008 at 11:14 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Yeah, so in the parent template (base.html) I've specified the usual
> {% block content %} and in the child template, the call to the form is
> well within the corresponding block tags. I've checked syntax about a
I use the following code to disable a ModelForm field in a custom
__init__:
self.fields['state'] =
USStateField(widget=widgets.Select({'class':'disabled', 'disabled':'',
'tabindex':'-1',}, choices=STATE_CHOICES), required=False)
Unfortunately, this presents a problem. When I post the form with
Yeah, so in the parent template (base.html) I've specified the usual
{% block content %} and in the child template, the call to the form is
well within the corresponding block tags. I've checked syntax about a
million times too, to make sure there's no syntax error - it's a
pretty simple project,
Hi everyone,
I'm in the process of using Django to develop a CMS for our Web site,
and one thing that I'd like to do is to find a way to maintain
compatibility with the old URLs on the site. These old URLs are,
however, somewhat crufty. In particular, I'd like to be able to do the
following to
I don't have any firsthand experience to share with running sqlite in
a production setting. I did choose to spend about 30 seconds scanning
the sqlite FAQ:
http://www.sqlite.org/faq.html#q5
http://www.sqlite.org/faq.html#q6
If what sqlite is saying on their FAQ is true, it sounds you can get
On Wed, 2008-07-02 at 07:58 -0700, Berco Beute wrote:
> I have multiple instances of same the form (of which all fields are
> optional), but I only want to save the form in case something is
> filled in. How can I test that in my view?
After checking that the form is valid (which means each
I have multiple instances of same the form (of which all fields are
optional), but I only want to save the form in case something is
filled in. How can I test that in my view?
2B
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi.
Is there way to store bounded form for later use?
For example to put into session, then show it at another way.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
On Jul 1, 9:41 pm, Brian Luft <[EMAIL PROTECTED]> wrote:
> What is your purpose in defining a form field if it won't be used for
> user input?
I wanted to try and kee things simple (and look where that got me).
I have a list of players, and want to display them, with checkboxes
next to the
On Wed, Jul 2, 2008 at 4:01 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> Hi all,
> I am using django admin to show my tables.
> I used ManyToMany field, and facing this error.
>
> instance needs to
> have a primary key value before a many-to-many relationship can be
> used.
>
>
On Wed, Jul 2, 2008 at 3:33 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> I'm trying to use Free Comments, but coming up against a problem
> displaying the form. I've followed the tutorial at djangoproject.com
> (http://code.djangoproject.com/wiki/UsingFreeComment)
>
> So I've done these
You can use the output of "python manage.py sql myapp" to see what the sql
ought to be and compare it with the curent state.
On 7/2/08, Oscar Carlsson <[EMAIL PROTECTED]> wrote:
>
> Unless you use django-evolution (
> http://code.google.com/p/django-evolution/ , which I don't know much
> about)
laspal wrote:
> Hi,
> I have created initial_data.xml using dumpdata and
> """manage.py loaddata initial_data.xml""" gives me no error.
> but still I am not able to login using setUp().. and this is
> essential as all my views functions required login..
>
> here is my test file:
>
> import
Alex Koshelev wrote:
> Or may be a custom template tag for common stuff.
Or like any code anywhere just extract the common parts to a helper
function and call that.
--
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
Or may be a custom template tag for common stuff.
On Jul 2, 5:59 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Brrr... Try to use context
> processorshttp://www.djangoproject.com/documentation/templates_python/#subclass...
>
> On Jul 2, 5:43 pm, Mario <[EMAIL PROTECTED]> wrote:
>
> > I
Brrr... Try to use context processors
http://www.djangoproject.com/documentation/templates_python/#subclassing-context-requestcontext
On Jul 2, 5:43 pm, Mario <[EMAIL PROTECTED]> wrote:
> I understand. Global context = {} was bad solution...
> views,py:
> context = {
> 'hot_news':
I understand. Global context = {} was bad solution...
views,py:
context = {
'hot_news': News.objects.filter(hot=True).order_by('-created')[0],
'last_radio_message': VisualRadio.objects.all().order_by('-
created')[0],
'last_totals': Totals.objects.all().order_by('-created')[0],
On 2 juil, 09:48, Collin Grady <[EMAIL PROTECTED]> wrote:
> You can use tabs,
You can, but *don't*. Use spaces. 4 spaces. Always.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Of course. But author don't write where he create context in some view
function or in module scope.
On Jul 2, 4:42 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, Jul 2, 2008 at 7:09 AM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> > Client-side caching. Use the `never_cache` decorator
>
Hi Malcolm,
I've been back through as you suggested and can trace the problem to
revision 7477 which is merging of the Queryset refactor branch into
the trunk. Version 7476 works fine with our application.
I'll have a play with my view code to see if I can see exactly what is
causing the
Unless you use django-evolution
(http://code.google.com/p/django-evolution/, which I don't know much
about) you have to make these changes yourself,
but usually it isn't that hard.
There is information on how to make these changes in the django book,
chapter 5:
Hello all,
I'm using MySQL with Django, I setup my models and installed
everything, got into the admin panel and realized I left a field out.
I went back into my models file, added it, and it gives me an error
because while I guess the code realized it's there, that field wasn't
created in
With new commits, I guess this has become a little outdated. Or am I
wrong? Is there some new code required to achieve this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On Wed, Jul 2, 2008 at 7:09 AM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Client-side caching. Use the `never_cache` decorator
No, that's not it at all.
> On Jul 2, 3:43 pm, Mario <[EMAIL PROTECTED]> wrote:
>> I look at sql log - django didn't query that, but always query lists,
>> for
I'm just considering using SQLite in small Django project(in
production environment). I have no fear about performance but what
troubles me is whether SQLite can be used in environment like Apache
+mod_wsgi ? As SQLite is file based database, isn't there concurrency
problem?
Can someone explain?
Client-side caching. Use the `never_cache` decorator
On Jul 2, 3:43 pm, Mario <[EMAIL PROTECTED]> wrote:
> Hi, all!
> I have a some little project that consists news list, several text
> blocks and else
> All worked... But after adding, for example news, it not publish on
> main page while
On Wed, 2008-07-02 at 04:47 -0700, Tipan wrote:
> Whilst setting up a new machine for development I took down the latest
> development version of Django (7825). I am now experiencing a Pickle
> error when running my existing application which has been working fine
> on our production servers for
Whilst setting up a new machine for development I took down the latest
development version of Django (7825). I am now experiencing a Pickle
error when running my existing application which has been working fine
on our production servers for a few months. The error occurs when
using the Cache.set
Hi, all!
I have a some little project that consists news list, several text
blocks and else
All worked... But after adding, for example news, it not publish on
main page while apache restart(reload). This problem haven't
regularity.
model.py:
class News(models.Model):
title =
> Anyone?
>
> On Jun 27, 9:38 am,gumbah<[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > does anyone know what i am doing wrong when i see adatelooking like
> > this in the "change history" part of the admin app:
>
> > FriAMCDTE_261CDT02_CDT1JunE_June1218655750TrueTrue
>
> > I see this throughout
1 - 100 of 112 matches
Mail list logo