Hello! I am a novice. I want to install TinyMce on Django. I tried a lot of
lessons posted on the Internet, nothing. 3 days can not adjust. Please tell
me a link to a detailed and clear tutorial
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
Given a model ``Employee`` with a foreign key ``company`` pointing to a
model called ``Company``, would the following example lock both the
``Employee`` and ``Company`` rows that were selected?
employee =
Employee.objects.select_for_update().select_related('company').get(pk=1)
Or, would only t
I reckon you could try the following:
- declare a function which does a 'select distinct' and returns the
queryset via the ORM
e.g.
def distinct_colors():
results = FavoriteColor.objects.all().values("color").distinct()
return results
then ...
class FavoriteThingsForm(forms.ModelForm):
Who's "us"?
On Sat, Aug 18, 2012 at 8:34 PM, Wolfgang Gruener wrote:
> We recently launched our web app survey to gain more insight in current
> web app and app development trends. We would be excited if you guys could
> take 5 minutes and head over to the form and fill out a fee questions. As
>
Hello,
I have a model that has a foreign key field that I want to use in a form as
a select box.
That particular field at times appears multiple times in the database. How
do I make it
only have distinct values?
This is a snippet, drop down will have repeated values if same color is
entered:
cla
Hello,
Could you post the VirtualHost configuration for Apache?
That would greatly help us help you.
Regards
On Mon, Aug 20, 2012 at 12:30 AM, Seyfullah Tıkıç wrote:
> Hello,
>
> I read the article below.
> https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/
>
> But still http://lo
Hello,
I believe its a simple typo!
authenticate(user=usuario, password=clave)
should be
authenticate(username=usuario, password=clave)
Regards
On Sun, Aug 19, 2012 at 3:35 PM, Jorge Garcia wrote:
> Hi there. Im doing my first login form for an existing Django application.
> The thing is tha
Hello,
I read the article below.
https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/
But still http://localhost redirects to
/var/www/localhost/htdocs/index.html.
I want http://localhost/ redirescts to /home/seyfullah/django/mysite.
How can I do this?
--
SEYFULLAH TIKIÇ
--
You rec
Hello everybody.
I've problem. When i upload image and submit i got follow form error.
- Upload a valid image. The file you uploaded was either not an image or
a corrupted image.
I reinstall PIL (1.1.7) and setup.py file edit like JPEG_ROOT =
'/usr/lib/i386-linux-gnu/'.
Thanks
--
You receiv
Hi!
When I'm running 'manage.py test myapp' it loads all fixtures that are in
'myapp/fixtures' directory.
And what I want is to find a way to tell django skip this fixtures and
instead load some other ones or maybe no fixtures at all for certain tests.
Is it possible?
--
Regards,
Anton Baklanov
Is there any already written library function to allow users to put
collections of things into other collections?
Similar to how Google docs lets users create different docs, then group
them within a collection, but also lets users drag collections into other
collections.
I’d like to do that
We recently launched our web app survey to gain more insight in current web
app and app development trends. We would be excited if you guys could take
5 minutes and head over to the form and fill out a fee questions. As our
thank you, please leave your email address at the end of the survey an
Hi there. Im doing my first login form for an existing Django application.
The thing is that when I give the correct usr/pswd from the
web, django.contrib.auth.authenticate returns systematically None.
However, when I try the same thing from the Django shell it works. I'm
working with a "john
Am 15.08.2012 um 01:49 schrieb Russell Keith-Magee:
> For example, in order for the admin to allow
> for an "empty" input, you'll need to set the field as 'blank=True',
> which means the NULL will be converted to a blank string.
>
> This could be addressed at the form level, but it will involve
On 19-8-2012 3:29, Barry Morrison wrote:
> I apologize, I'm new to Django and Python...I've tried every which way I
> know how based on what you described, and I can't find success.
>
> Here is what I'm at right now:
>
> http://dpaste.org/7JcGT/
>
> I get this error: 'DeleteCommunityImages' obje
This actually ended up working: http://dpaste.org/U0uY4/
On Saturday, August 18, 2012 5:46:28 PM UTC-7, Melvyn Sopacua wrote:
>
> On 19-8-2012 2:26, Barry Morrison wrote:
> > I have a view that displays images and gives me the ability to delete
> the
> > images.
> >
> > View url == /accou
16 matches
Mail list logo