Hi
I'm using Ubuntu Lucid 10.04. I had previously installed Django 1.1.1 via
the repos. I downloaded the django 1.2 tarball. Ran "sudo setup.py install"
after extracting, and it seems the installation went fine. However, when I
run the dev server with my old project, it still shows as django versi
That should work, I don't think it's a django problem
On Sun, Jul 25, 2010 at 12:00 AM, kostia wrote:
> How to open my web site on development server to others?
> I use python manage.py runserver 0.0.0.0:8000
>
> But something stops others to visit my site. I use Linux Fedora, maybe
> I should s
How to set up a virtual python/django installation
On Tue, Aug 3, 2010 at 9:44 AM, Rainy wrote:
> I've added a new tutorial: Calendar App to
> my Django by Example site. As always, feedback is appreciated.
>
> What would be a good tutorial to do next?
>
>http://LightBird.net/dbe/
>
> -ak
>
Ah, thanks
On Tue, Aug 3, 2010 at 8:40 PM, Rainy wrote:
>
>
> On Aug 3, 2:25 am, Nikhil Somaru wrote:
> > How to set up a virtual python/django installation
> >
>
> There is already a tutorial for this here:
>
>
> http://codytaylor.org/2010/07/django-on-d
t; On Sun, 25 Jul 2010 07:17:48 +0200, Nikhil Somaru
> wrote:
>
> Hi
>>
>> I'm using Ubuntu Lucid 10.04. I had previously installed Django 1.1.1 via
>> the repos. I downloaded the django 1.2 tarball. Ran "sudo setup.py
>> install"
>> after e
You have upgraded to Django 1.4.
I had the same problem when going from Django 1.3.1 to 1.4.
Suggestion:
pip install django==1.3.1
On Mar 6, 7:22 am, Alec Taylor wrote:
> I keep getting an ImportError saying "cannot import name `feed`".
> (pinax-admin basic_project)
>
> I am running latest Pin
You have upgraded to Django 1.4.
I had the same problem when going from Django 1.3.1 to 1.4.
Suggestion:
pip install django==1.3.1
On Mar 6, 7:22 am, Alec Taylor wrote:
> I keep getting an ImportError saying "cannot import name `feed`".
> (pinax-admin basic_project)
>
> I am running latest Pin
usly, you can't pass arguments to filter in a template. How can one
achieve this?
--
Yours,
Nikhil Somaru
--
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 unsu
; do the filtering part in views.py . templates is meant only for visual
> purpose
>
> On Sat, Apr 14, 2012 at 2:21 PM, Nikhil Somaru wrote:
>
>> Greetings,
>>
>>
>> I would like to do something like queryset filtering in a template. Is
>> the only
Thanks for the replies guys.
I realised I was over thinking the matter. I'm just going to do the
necessary work in the view for now, get it *working*, and then worry about
optimising later.
On 16 April 2012 19:16, Javier Guerra Giraldez wrote:
> On Mon, Apr 16, 2012 at 6:00 AM, Nikhi
hose which have the parameter
choices passed to them (they should be a drop-down box). The class being
applied to them is vLargeTextField.
This is a brand-new Django project, there is no custom css/html and the
devserver is returning 200 (OK) for all requests.
Your help is appreciated.
--
You
arField instead of TextField
>
> --
> eng. Ilian Iliev
> Web Software Developer
>
> Mobile: +359 88 66 08 400
> Website: http://ilian.i-n-i.org
>
>
> On Fri, Sep 30, 2011 at 2:01 PM, Nikhil Somaru wrote:
>
>> Hi All,
>>
>> Django Version: 1.3
>
glegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Yours,
Nikhil Somaru
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
e }} below.
{% endif %}
{% csrf_token %}
{{ form.as_table }}
#
#
Could anyone explain:
1) why the form is not validating
2) How
y 26, 2011 at 5:16 PM, Daniel Roseman wrote:
> On Thursday, May 26, 2011 11:18:39 AM UTC+1, Nikhil Somaru wrote:
>
>> Hi all,
>>
>> I am testing the form validation. When I try and submit an empty form, I
>> get:
>>
>> ValueError at /contact/
>>
>
Any advice would be very much appreciated!
>>
>> Thanks!
>>
>
> --
> 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 unsubscribe from this group,
Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/dja
data):
subform.initial = data
# render_to_response
The problem is, this limits me to a total number of forms as defined in the
extra field passed to inline_formset().
Any improvements or totally new solutions are welcome! My Python/Django
knowledge is beginner-intermediate (leaning towards
probably uses more memory than it should, but
it works. Are there any other, more elegant solutions?
On Fri, Jun 17, 2011 at 3:38 PM, Nikhil Somaru wrote:
> Hi,
>
> PURPOSE: Mimic the admin "inline" functionality (with
> ForeignKeyrelationships) in one of my own forms wi
widgets = {
'quantity_requested': TextInput(attrs={'readonly':'readonly'}),
'quantity_approved': TextInput(attrs={'readonly':'readonly'}),
'quantity_received': TextInput(attrs={'readonl
ooglegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Yours,
Nikhil Somaru
--
You received this message because you are subscribed to t
Thanks derek.
On Sat, Jun 18, 2011 at 8:03 AM, Nikhil Somaru wrote:
> Hi,
>
> Is there a way to reduce the repetition in the following form classes:
>
> class ItemsStep2(ModelForm): #approval
> class Meta:
> model = OrderItem
> fields = (
on my phone, so I apologize in advice if I missed
> something crucial, but what's stopping you from subclassing and
> overriding just the relevant parts?
>
> Sincerely,
> Andre Terra
>
> On 6/17/11, Nikhil Somaru wrote:
> > Hi,
> >
> > Is ther
.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Yours,
Nikhil Somaru
--
You received this message because you are subscribed to th
jango users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@**
> googlegroups.com .
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<
t to return all A, but filter my
> "B1"s (as you put it) for each A. I will post my models if need be,
> but they are on another computer and its not convenient right now. In
> the meantime, do you have any ideas for this query?
>
> On Jun 23, 11:50 am, Nikhil Somaru wro
n is this:
> a1 to (b1,), a2 to None, a3 to (b1,).
>
> I always want to return all of my model "A" objects, but I want to
> filter the model "B" objects within each based on who the current
> user's "friend connections are". How do I do this in c
27 matches
Mail list logo