How does one configure this? The documentation only explains how to use
locmem or memcached, and yet the commit logs reference Redis multiple
times, so it must be doable. Does anybody have any advice or experience
with this?
--
You received this message because you are subscribed to the Googl
Hi folks --
We've just released Django 1.5.1, a bug fix release that cleans up a
couple issues with last month's 1.5 release.
The biggest fix is for a memory leak introduced in Django 1.5. Under
certain circumstances, repeated iteration over querysets could leak
memory - sometimes quite a bit of
Hey,
You will need to use custom widget for tag field. Please have a look at
https://bitbucket.org/fabian/django-taggit-autosuggest and below screenshot.
[image: Inline image 1]
On Thu, Mar 28, 2013 at 7:03 PM, Jonathan Harris
wrote:
> Hi All
>
> New to Django and coding in general, so sorry if
This is a known bug in django - https://code.djangoproject.com/ticket/14087.
On Thu, Mar 28, 2013 at 7:17 PM, Alexis Roda <
alexis.roda.villalo...@gmail.com> wrote:
> Hi all,
> I'm having a hard time making management commands defined in a namespaced
> app available to "manage.py".
>
> I have a n
You may try
{% load url from future %}
But wrapping first argument to url in quotes was introduced in 1.5. Your
original code should work.
Please wait for someone else to answer.
On Thu, Mar 28, 2013 at 9:27 PM, Bastian wrote:
> Hi,
>
> I am trying to upgrade an existing project from 1.3 to
Hey Abhishek,
In your form, you need to specify a form field to use
django.forms.widgets.CheckboxInput (
https://docs.djangoproject.com/en/dev/ref/forms/widgets/#checkboxinput) for
this.
Here is an example
from django import formsfrom django.form.widgets import
CheckboxInputfrom django.forms.fie
If the user is marked as deleted and we want to do soft delete.What can we
do to have the username available again for use.
Can we just mask the deleted usernames with some random string so that the
actual username can be used?
On Sunday, June 24, 2012 10:36:02 AM UTC-4, Dhivya wrote:
>
> Hi,
>
Are you sure that you restarted after making redirection changes in
production? Unlike runserver, most deployment schemes do not automatically
restart when a .py file is changed, so changes to them are not picked up.
You would have restarted when you switched DEBUG on and off, and other
changes wo
Continent = form.cleaned_data['Continent']Continent =
dict(form.fields['Continent'])[Continent]
The obvious confusion stemming from the upper case variable aside, the
second line is total nonsense. Drop it and you'll be golden.
Cheers,
mjl
--
You received this message because you a
On Thu, Mar 28, 2013 at 3:10 PM, amine antri wrote:
> i'm working on Djnago and i need to know how can i get selected value in
> forms.ChoiceField
>
> class FilterForm(forms.Form):
> Continent = forms.ChoiceField(choices=continents())
>
> i tried with :
>
> def affiche_all(request, currency):
Hi,
I am trying to upgrade an existing project from 1.3 to 1.4.5. I have it
almost done but when I try to load the home page, in the base.html I have
this line:
and it throws an error: No module named views.
When I replace the tag with the real url (/jsi18n/) then the error
disappears but i
Hm, well, I've solved it myself, I guess. It must have been a caching
problem. I changed Debug to True in settings.py to look for errors, and
then it started working. Something must have reloaded, cuz it still works
when I change it back.
For future reference, does anyone know how I can get th
**
i'm working on Djnago and i need to know how can i get selected value in
forms.ChoiceField
class FilterForm(forms.Form):
Continent = forms.ChoiceField(choices=continents())
i tried with :
def affiche_all(request, currency):
if request.method == 'POST':
Hi,
I'm using the django redirects
app: https://docs.djangoproject.com/en/1.4/ref/contrib/redirects/
I've created a couple of redirect objects in the admin interface and when I
run it locally it works fine, but when I do the same thing on my live
server it has no effect. The regular 404 page i
Hello,
Thank you for your response.
I found the issue. The include statement inside the root project URLS.py
was not reaching the specified app urls.py it should reference.
I then find a workaround, I put an import statement inside the root project
URLS.py instead of calling the include directly
Hi all,
I'm having a hard time making management commands defined in a
namespaced app available to "manage.py".
I have a namespace python package "dja.skel.core" that provides some
functionality and a namespace app "dja.skel.django_skel" which defines
functionality specific to django, a manag
Hi All
New to Django and coding in general, so sorry if this has been covered - I
did search the group postings, have read the documentation, trawled the net
etc, but couldn't find anything directly relevant
I have been following various tutorials (django homepage, youtube etc) for
how to start c
I am trying to show an integer field as check box and wanted to show it as
default check.
Does anyone know how to do this.
thanks
ak
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from
Hey Vittorio,
ManyToManyField has one optional argument for specifying
db_table(http://bit.ly/10ciWdu).
Since, you have different column names, you should create a new model.
and specify that model as `through` argument(http://bit.ly/10cjdgz).
And set `db_table` in `Meta` class of this model.
In
On Thu, Mar 28, 2013 at 6:50 AM, Tom Evans wrote:
> This should be many migrations, not one migration.
>
> 1) Schema migration: Add nullable foreign key to Project to CCD.
> 2) Data migration: Create Project objects as needed from 'RMversion' links
> 3) Data migration: Update CCD objects to point
Resolved, the __unicode__ did not returned unicode object.
Dne pátek, 22. března 2013 10:50:08 UTC+1 Tomas Pelka napsal(a):
>
> Hi all
>
> I'm trying to make one of my first apps running but always getting weird
> errors Attribute/Type for models.DecimalField as well as for DateField.
>
> In case
On Wed, Mar 27, 2013 at 11:49 PM, Tim Cook wrote:
> I can't find a similar scenario in the list archives, so .
>
> I had run the initial migration, etc and all seemed fine.
>
> I modified one model from this:
> class CCD(models.Model):
> rm_version = models.ForeignKey(RMversion,
> related
Hello, everyone!
I've released 1.0 beta of the app:
https://github.com/05bit/django-smarter
It helps with adding generic views. Actually, I've build this app for
one of my projects, which is 80% based on generic views, and it seemed
very useful for that particular case :)
As my project evolved a
23 matches
Mail list logo