I have the same problem Jani had and I tried this but it is not
working for me. The window still appears when i run "django-admin.py
startproject ". The window is the django-admin file and the text
it contents is:
#!/usr/bin/env python
from django.core import management
if __name__ == "__main__":
Regards,
Sandra
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more opti
Thanks friends, regards
On Fri, Mar 12, 2010 at 10:28 AM, Shawn Milochik wrote:
> South has become the dominant DB migration tool for Django. Have a go at
> that.
>
> http://south.aeracode.org/
>
> Shawn
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Djan
Hi friends, I'm trying to download django-evolution app, but I can't from
Cuba. Could you send to me this app for this way? Please!
Thanks,
Sandra
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
e values that the "type" field could take (in
this case, Individual and Corporative). But when I select one of options,
the "Availables" box is empty, it couldn't filter. Why? Missing any file to
include? There is a syntax error in my forms.py?
Thanks,
Sandra
--
You received th
Hi friends, I have a problem. I'm trying to add to User class of Django an
attribute. For that I'm using add_to_class method. I did the following:
1. Delete from Data Base the tables: «auth_user», «auth_user_groups» y
«auth_user_user_permissions».
2. In models.py of «main» aplication I pu
Hi, I want add a new attribute in User model and create custom backends.
Steep by steep, I did the following:
1) I created an application named "profile" into my project
2) I created, in models.py of "profile" a class named "UserProfile",
which inherits
from User class of Django. I added "press_age
Hi, I want add a new attribute in User model and create custom backends.
Steep by steep, I did the following:
1) I created an application named "profile" into my project
2) I created, in models.py of "profile" a class named "UserProfile",
which inherits
from User class of Django. I added "press_age
Hi friends, I have a problem.
I want add buttons to change_form, and I did the same thing of Django, I
wrote a templatetags, but I have a doubt in the views. I want do something
as:
def newdescriptor(request):
if request.method == 'POST':
form = CustomNewForm(request.POST)
if for
Hi friends, I have a problem.
I want add buttons to change_form, and I did the same thing of Django, I
wrote a templatetags, but I have a doubt in the views. I want do something
as:
def newdescriptor(request):
if request.method == 'POST':
form = CustomNewForm(request.POST)
if for
Hi Aljosa Mohorovic, I need work with django-mptt or django-treebeard, but
neither I'm sure. I think that django-mptt is better, this says all (
http://magicrebirth.wordpress.com/2009/08/06/representing-hierarchical-data-with-django-and-mptt/
)
Sorry, a cuestion because I don't understand. mptt req
Hi friends, I have a problem.
I want add buttons to change_form, and I did the same thing of Django, I
wrote a templatetags, but I have a doubt in the views. I want do something
as:
def newdescriptor(request):
if request.method == 'POST':
form = CustomNewForm(request.POST)
if for
Hi friends, Can I do a condition depending on my model name? For example, I
did that:
{% ifequal model.name "Mymodelname" %}
do something
{% endifequal %}
But don't work. Someone could help me?
--~--~-~--~~~---~--~~
You received this message because you are su
Hi friends, I haver another problem. I created a custom permission, but when
I write a condition, always return False. For example:
---models.py
class Book(models.Model):
title = models.CharField(verbose_name = "Title", max_length = 150)
author = mode
Admin):
filter_horizontal = ('author',)
admin.site.register(Book, BookAdmin)
I copied all .js (SelectBox.js, SelectFilter2.js, among others) to
/myproject/media/js. But don't work, because don't appears any widget in
author field. Why? What is the mistake?
Tha
Thank's Alex, but it don't seem the problem, because I tested with another
method name "author" and "pub_date", and returns (None) too. Why?
On Thu, Aug 27, 2009 at 5:03 PM, Alex Gaynor wrote:
>
> On Thu, Aug 27, 2009 at 12:18 PM, Sandra Django
> wrote
Hi, I want display in change_list view, user who added an object and date. I
did that:
- models.py ---
>
> class One(models.Model):
> ..
> def user(self):
> return self.user.username
>
> def date(self):
> return self.date
> -- a
Hi, I want display in change_list view, user who added an object and date. I
did that:
-- models.py ---
class One(models.Model):
..
def user(self):
return self.user.username
def date(self):
return self.date
-- admin.py --
Hi friends, another doubt...
I have a group, where all users that belongs to this groups only can access
to a form, and I want that when anyone is logged, go directly to that form,
not to Django view by default. How I can do it? Depending on the group,
return that form.
Thanks for any help,
Sandra
n you help me, please??!!
On Tue, Aug 25, 2009 at 4:28 PM, Mike Ramirez wrote:
> On Tuesday 25 August 2009 12:56:12 pm Sandra Django wrote:
> > Hi friends, I'm trying to custom the index.html of Django. For that, I'm
> > writing a custom template tag (categories.py). This
Hi friends, I'm trying to custom the index.html of Django. For that, I'm
writing a custom template tag (categories.py). This module should display a
list, but don't display anything. Why? I'll describe that I did because if
you can you explain me what is the problem, ok?
1) I created "templatetags"
21 matches
Mail list logo