Hi Gerd,
I have been following your question quite closely and I wish to find a way
to assist. Are you creating multiple forms? If so, are you using Formsets?
I need to understand what exactly you want to accomplish before I can
render any assistance.
Sithu
On Saturday, August 31, 2013 4:13:2
Hi,
I have two models, ReleaseImageGallery and ReleaseImage as follows:
class ReleaseImageGallery(BaseImageGallery):
release = models.ForeignKey(Release, on_delete=models.CASCADE)
class Meta:
verbose_name = "release image gallery"
verbose_name_plural = "release image galleries"
and
class Relea
quot;release"
verbose_name_plural = "releases"
def __str__(self):
return self.title
I suspect that something is going on with migrations. All migrations have
been run and a user is already capturing data on a staging server, so I do
not want to recreate the database.
Regard
Hi everyone,
Where can I find Django on Discord?
TIA.
Regards,
~ Lloyd
--
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 it, send an email
to django-users+unsubscr...@googlegroups.
o this group, send email to django-us...@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/django-users?hl=en.
>
>
--
Regards,
Sithembewena Llo
thing."
My environment is Python 2.6 on Windows 7, Django 1.2.1. with SQLite. Any
suggestions?
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
Problem solved. I had not enabled the admin.autodiscover() code in my
urls.py file.
Thanks.
On Mon, Jun 7, 2010 at 9:19 AM, Sithembewena Lloyd Dube
wrote:
> Hi all,
>
> I am using the latest Django release (1.2.1.) and I am having a problem
> with activating the admin site.
>
ull name of
the view including the prefix as an argument to the reverse() function.
What could be wrong?
Thanks
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Thanks Daniel, that is absolutely right.
On Mon, Jun 14, 2010 at 10:07 AM, Daniel Roseman wrote:
> On Jun 14, 8:55 am, Sithembewena Lloyd Dube wrote:
> > Hi all,
> >
> > I am using Django 1.2 to write the Django tutorial poll app. At the end
> of
> > my *vote* view
turn HttpResponseRedirect(reverse('myproject.polls.views.results',
args=(p.id,)))
*DETAIL TEMPLATE*
{{ poll.question }}
*{% if error_message %}{{ error_messsage }}{% endif
%}
*
{% csrf_token %}
{% for choice in poll.choice_set.all %}
{{ choice.choice
}}
{% endfor %}
Thanks Daniel :) I am doing the tutorial and nothing else, step by step. I
mispelled the name of my template variable.
Many thanks,
Lloyd
On Mon, Jun 14, 2010 at 3:45 PM, Daniel Roseman wrote:
> On Jun 14, 2:13 pm, Sithembewena Lloyd Dube wrote:
> > Hi all,
> >
> > I h
Problem fixed - the error variable in my template was mispelled.
Thanks.
On Mon, Jun 14, 2010 at 3:13 PM, Sithembewena Lloyd Dube
wrote:
> Hi all,
>
> I have a "vote" view and "detail" template in the Polls application that I
> am writing. The idea is that the u
ou 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
Interesting, thanks Venkatraman. Just finishing up the tutorial at this
point. Will look at that page.
On Tue, Jun 15, 2010 at 1:32 PM, Venkatraman S wrote:
>
> On Tue, Jun 15, 2010 at 3:54 PM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>> @Venkatrama
roup, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to
thonpath.
> >
> > > I usually use a similar layout, with apps in an 'apps' subdirectory,
> > > and what I usually do is slightly hack the manage.py script to put
> > > apps on the path:
> > > sys.path.insert(0,
> > > os.path.join(
>
ost 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards,
Sithembe
roups.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.
>
>
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You r
>
>>
>
>
> --
> Didier Rano
> didier.r...@gmail.com
>
> --
> 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
> On 2010-08-04, at 17:35 , Sithembewena Lloyd Dube wrote:
> > Surprising that anybody would be offended by the OP's post. Why do people
> so
> > readily see red? As for the "think special" part, one would have to be
> > pretty intent on getting upset to miss the sarcasm.
&
Hi all,
Has anybody used Django 1.2.1. on Windows 7 with MySQL-Python? I see that
MySQL-Python supports up to Python 2.6 and I am wondering if it will play
nicely with Python 2.7? I need this information for a new project at work.
With thanks,
--
Regards,
Sithembewena Lloyd Dube
http
wrong with using Python 2.6 instead of 2.7?
>
>
>
> On Aug 11, 4:13 pm, Sithembewena Lloyd Dube wrote:
> > Hi all,
> >
> > Has anybody used Django 1.2.1. on Windows 7 with MySQL-Python? I see that
> > MySQL-Python supports up to Python 2.6 and I am wondering if
support for MySQL-Python
> there's a good chance I may be able to swing a complimentary MSDN
> license via the PSF to give access to the necessary software.
>
> regards
> Steve
>
> On 8/11/2010 7:48 PM, Sithembewena Lloyd Dube wrote:
> > Cootetom, there's no
Furthermore, I found this in the Django documentation...
Being a Python Web framework, Django requires Python. It works with any
Python version from 2.4 to 2.7..."
On Thu, Aug 12, 2010 at 9:48 AM, Sithembewena Lloyd Dube
wrote:
> Thanks, issue solved: I found the Python 2.6 binaries.
be 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.
>
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are
-
> 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
> .
> Fo
group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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
I be doing wrong?
Thanks
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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
On Tue, Aug 24, 2010 at 4:31 PM, Reinout van Rees wrote:
> On 08/24/2010 04:17 PM, Sithembewena Lloyd Dube wrote:
>
>> Hi all,
>>
>> I have been working on some models and tried to run the manage.py syncdb
>> command. It says there are no fixtures found even after I ju
ick Arnett wrote:
>
>
> On Tue, Aug 24, 2010 at 7:43 AM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>> Thanks Reinout. I have been seeing a lot of discussions regarding South
>> lately - time to dive in and find out what it is and what it means fo
s+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google Groups
&quo
Don't forget to run manage.py syncdb to create table/s for your model/s.
On Mon, Aug 30, 2010 at 5:28 PM, Sithembewena Lloyd Dube
wrote:
> Hi João,
>
> Add myapp.UserProfile to the INSTALLED_APPS global variable of your
> settings.py file, and in your admin.py file, import the
, and we need hosting. I have a host in
mind, but I wanted to know what others think? In your view, which host
provides good Django support and decent performance?
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google
Ah, thanks Federico :)
On Tue, Aug 31, 2010 at 10:15 AM, Federico Maggi
wrote:
> On Aug 31, 2010, at 10:13 AM, Sithembewena Lloyd Dube wrote:
>
> > We will be going live in a while, and we need hosting. I have a host in
> mind, but I wanted to know what others think? In your v
Looks like my proposed host is at the top there by a wide
margin
On Tue, Aug 31, 2010 at 10:17 AM, Sithembewena Lloyd Dube wrote:
> Ah, thanks Federico :)
>
>
> On Tue, Aug 31, 2010 at 10:15 AM, Federico Maggi > wrote:
>
>> On Aug 31, 2010, at 10:13 AM, Sithe
Thanks Kenneth, interesting summary. We would likely start off with WF as
our needs at this point should be covered by their hosting.
On Tue, Aug 31, 2010 at 10:25 AM, Kenneth Gonsalves wrote:
> On Tue, 2010-08-31 at 10:13 +0200, Sithembewena Lloyd Dube wrote:
> > We will be going
the
appropriate language based on the user's selected region. How would I
customise the form object's validation messages?
Thanks!
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google Groups
"Django u
Thanks Kenneth!
On Fri, Sep 3, 2010 at 2:09 PM, Kenneth Gonsalves wrote:
> On Fri, 2010-09-03 at 14:07 +0200, Sithembewena Lloyd Dube wrote:
> > Basically, I wish to validate the name, surname and email fields when
> > a user
> > hits submit on the form. However, I ne
sable without a
hack - and if so, how?
Thanks,
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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 unsubs
;
> Le 6 sept. 2010 à 16:58, Sithembewena Lloyd Dube a écrit :
>
> Hi all,
>
> I added a sitemap app to my Django 1.2.1. app to and when I browse to
> sitemap.xml on my development machine, Django does generate valid xml
> sitemap.
> However, it's using www.example.com/ in
html template.
What could this be and how would one tackle this issue? Any ideas welcomed.
Thanks!
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
pache.
Thanks Kenneth!
On Thu, Sep 9, 2010 at 2:27 PM, Kenneth Gonsalves wrote:
> On Thu, 2010-09-09 at 14:19 +0200, Sithembewena Lloyd Dube wrote:
> > We are in the process of deploying a Django app to WebFaction hosting
> > where
> > we use Apache to serve it.
> >
>
Thanks Kenneth, we were also discussing yesterday how we need to have a
"safer" deployment strategy.
We are using TortoiseSVN for version Control.
On Fri, Sep 10, 2010 at 4:31 AM, Kenneth Gonsalves wrote:
> On Thu, 2010-09-09 at 14:31 +0200, Sithembewena Lloyd Dube wrote:
>
:) If I had my way, we'd be using Linux for dev. The design guys need
Windows for all the Adobe software (although technically, there's
VirtualBox, Wine et al).
On Fri, Sep 10, 2010 at 10:55 AM, Kenneth Gonsalves wrote:
> On Fri, 2010-09-10 at 09:55 +0200, Sithembewena Llo
n MySQL,
whereupon it's saved as an empty string.
Is there a method of avoiding the behaviour where empty strings are saved as
nulls in nullable MySQL fields?
Thanks.
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the
gards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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
Thanks Shamail! I should have mentioned that I actually need something
open-source :)
On Thu, Sep 16, 2010 at 12:16 PM, Shamail Tayyab wrote:
> On Thursday 16 September 2010 03:40 PM, Sithembewena Lloyd Dube wrote:
>
>> Hi all,
>>
>> I will soon be working on a Django si
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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
Indeed it is, but the media server isn't :).
On Thu, Sep 16, 2010 at 5:35 PM, esatterwh...@wi.rr.com <
esatterwh...@wi.rr.com> wrote:
> The Flex Framework is open source.
>
> On Sep 16, 6:19 am, Sithembewena Lloyd Dube wrote:
> > Thanks Shamail! I should have ment
ght not with Django.
> Rod
>
> > This might not be any help since I know nothing of VOIP, but for the
> > chat portion take a look in to Ape ( a comet server written in C ).
> >
> > On Sep 16, 9:41 am, Sithembewena Lloyd Dube wrote:
> >> Indeed it is, but the me
,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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...@google
Thank you all for your contributions. I have resolved to give tinyMCE a go
again. I am specifically using the django-tinymce application.
On Wed, Sep 22, 2010 at 2:45 AM, Kenneth Gonsalves wrote:
> On Tue, 2010-09-21 at 17:41 +0200, Sithembewena Lloyd Dube wrote:
> > Has anybody inte
at could the issue be here? I am not getting any runtime errors in the
admin app.
On Wed, Sep 22, 2010 at 11:22 AM, Sithembewena Lloyd Dube wrote:
> Thank you all for your contributions. I have resolved to give tinyMCE a go
> again. I am specifically using the django-tinymce applicati
bed 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 options, visit this group at
> htt
t; 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards,
Sithembew
group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
>
> --
> Girish M S
>
> --
> 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
up, send email to django-us...@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/django-users?hl=en.
>
>
--
Regards,
Sithembewena Lloyd
tu Lucid Lynx (10.04).
Thanks,
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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 grou
tu Lucid Lynx (10.04).
Thanks,
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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 grou
tu Lucid Lynx (10.04).
Thanks,
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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 grou
tu Lucid Lynx (10.04).
Thanks,
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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 grou
Thanks Peter - will keep this in mind. I did use setup.py.
On Sun, Oct 3, 2010 at 10:43 PM, Peter Herndon wrote:
>
> On Oct 3, 2010, at 4:04 PM, Sithembewena Lloyd Dube wrote:
>
> > Howdy, fellow Djangites,
> >
> > This is going to sound downright loony - but i
Ah, easy as eating pie. Thanks folks!
On Mon, Oct 4, 2010 at 11:01 AM, Tim Sawyer wrote:
> Set help_text on the appropriate model field
>
> name = models.CharField(max_length=100, help_text='Current name of band')
>
> Tim.
>
>
> On 04/10/10 09:46, Sithembewen
email to django-us...@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/django-users?hl=en.
>
>
--
Regards,
Sithembewena Lloyd Dube
htt
Greetings folks,
I need to add "help text" to a Django admin. Sort of like the text below
fields in the Django Redirects app. to provide a snippet of information
about each field.
How can I achieve this?
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You rec
,
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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-user
Hi Ken,
Thought so too. I guess I am trying to figure out if I could have a nested
project (mezzanine) inside my Django project?
On Tue, Oct 5, 2010 at 1:04 PM, Kenneth Gonsalves wrote:
> On Tue, 2010-10-05 at 12:43 +0200, Sithembewena Lloyd Dube wrote:
> > I have installed Mezzanine
must be string, not instancemethod
>
> any ideas?
>
> 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-us...@googlegroups.com.
> To unsubscribe from this gro
oogle.com/group/mezzanine-users/browse_thread/thread/c8b13c41a3168c94
>
> Cheers,
> Steve
>
> On Oct 5, 7:37 am, Sithembewena Lloyd Dube wrote:
> > Hi Ken,
> >
> > Thought so too. I guess I am trying to figure out if I could have a
> nest
Hi all,
How does one filer objects by "smaller than" criteria in the data access
API? For example, in the following line:
MySite.objects.filter(*rank < 11*, display_on_site = 1).order_by('rank') -
how would one handle the highlighted criterion?
Thanks.
--
Regards,
Sithe
@Jonathan, thanks. That does the trick.
@Tom, thanks for bringing the subtle, yet important, difference between the
two forms of that expression to my attention.
2010/10/11 Tom Evans
> 2010/10/11 Jonathan Barratt :
> > On 11 ?.?. 2010, at 21:05, Sithembewena Lloyd Dube wrote:
>
> module: No module named MySQLdb
>
> does that help?
>
> 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-us...@googlegroups.com.
> To unsubscri
what I need.
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
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
ena Lloyd Dube wrote:
>
> Hi all,
>
> I just installed django-forum (http://code.google.com/p/django-forum/) in
> my Django 1.2.3. project and all went well (admin) until I got CSRF errors
> while trying to load a new forum I created in the admin.
> I added @csrf_protect tags t
ble.
Will look into it and see what gives, no word from the author thus far.
On Thu, Oct 14, 2010 at 12:46 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> On Thu, Oct 14, 2010 at 5:58 PM, Sithembewena Lloyd Dube
> wrote:
> > Hi all,
> >
> > I just installe
Hi all,
How would I set up my path so that I don't always have to type 'python
manage.py '? On Windows, I would add the directory containing the
python file to my system path. How can I do this on Linux?Am working on
Ubuntu 10.04. Thanks.
--
Regards,
Sithembewena
directory containing manage.py, type
>
> chmod u+x manage.py
>
> Then you should be able to just type ./manage.py
>
> On 18 October 2010 08:00, Sithembewena Lloyd Dube
> wrote:
> > Hi all,
> >
> > How would I set up my path so that I don't always h
Hi Ken,
Just manage.py , instead of always having to specify the program to
run the command with (python).
On Mon, Oct 18, 2010 at 7:25 AM, Kenneth Gonsalves wrote:
> On Sun, 2010-10-17 at 23:00 +0200, Sithembewena Lloyd Dube wrote:
> > How would I set up my path so that I don't
Thanks Ken.
On Mon, Oct 18, 2010 at 2:44 PM, Kenneth Gonsalves wrote:
> On Mon, 2010-10-18 at 14:34 +0200, Sithembewena Lloyd Dube wrote:
> > Just manage.py , instead of always having to specify the
> > program to
> > run the command with (python).
>
> anyway
ting label on the page would then be
updated with the returned rating.*
I would like to do this without using a view or doing a form POST or GET of
any kind. Any pointers?
Thanks.
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscri
u 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 options, visit this group at
>
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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Regards,
Sithem
own|clear)*vote/?$',
vote_on_object, video_dict),
I can see that object_id is being trapped as a parameter, but what is the
italicised/ bold section doing and what URL do I then get out of it? In
other words, I cannot decide what the view/s to handle the URL should be.
Thanks,
--
Regards,
Sit
iwali
>>
>> *Offer 20% Discount*
>> <http://www.ksrista.com/default.aspx>[image: FREE Animations for your
>> email - by IncrediMail! Click Here!] <http://www.ksrista.com/> Corporate
>> Office : Ksrista.com, ks online services pvt. ltd. baludyan
Thanks Russ!
On Mon, Nov 1, 2010 at 3:53 PM, Russell Keith-Magee wrote:
> On Mon, Nov 1, 2010 at 9:43 PM, Sithembewena Lloyd Dube
> wrote:
> >
> > Could somebody please take care of this idiot?? Spammed me after my
> response to a thread post.
> >
>
Thanks Daniel, makes sense. Also, I was making the mistake of thinking that
I had to create a separate view, forgetting that I am calling the one
supplied by django-voting. That correct?
On Mon, Nov 1, 2010 at 3:45 PM, Daniel Roseman wrote:
> On Nov 1, 1:23 pm, Sithembewena Lloyd Dube wr
Thanks Daniel!
On Tue, Nov 2, 2010 at 11:39 AM, Daniel Roseman wrote:
> On Nov 1, 3:08 pm, Sithembewena Lloyd Dube wrote:
> > Thanks Daniel, makes sense. Also, I was making the mistake of thinking
> that
> > I had to create a separate view, forgetting that I am calling the o
ath.realpath(PROJECT_PATH + '/media/')
What can I do to have the image src pointing to the correct avatar directory
(C:\Websites\ProjectRepository\projectname\media)?
Thanks...
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subsc
isplayed on the page. What am I missing? Any help would be
appreciated.
Thanks,
Sithu.
On Fri, Nov 5, 2010 at 10:58 AM, Sithembewena Lloyd Dube
wrote:
> Hi all,
>
> I installed the django-avatar app in my project and, in a template, i have
> the {% load avatar_tags %} and {% avatar user
Mario, thank you very much! You just made my day.
Regards,
Lloyd
On Fri, Nov 5, 2010 at 1:23 PM, Mário Neto wrote:
> instead this:
> MEDIA_URL = os.path.realpath(PROJECT_PATH + '/media/')
> try:
> MEDIA_URL = '/media/'
>
> 2010/11/5 Sithemb
dows 7 Professional*
Any ideas? I have logged an issue, but I need to make progress.
django-avatar does not appear to have a mailing list.
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received this message because you are subscribed to the Google Groups
"Django users
Hi everyone,
I have a template where Django is spitting out blog tags followed by a ','
when the tag is not the final one in the loop.
{% if not forloop.last %}, {% endif %}
Strangely, I am still seeing tag1, tag2, tag3,. How can I suppress that last
','?
--
Regards,
Sit
Hi Bruno,
Thanks for the idea! I checked my data and nothing seems out of the
ordinary. truly stumps me.
Regards
On Fri, Nov 19, 2010 at 12:51 PM, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
>
>
> On 19 nov, 11:09, Sithembewena Lloyd Dube wrote:
> > Hi eve
; wrote:
>
>
> On 19 nov, 11:09, Sithembewena Lloyd Dube wrote:
> > Hi everyone,
> >
> > I have a template where Django is spitting out blog tags followed by a
> ','
> > when the tag is not the final one in the loop.
> >
> > {% if not for
, Sithembewena Lloyd Dube
wrote:
> Bruno, you were absolutely right - the "last" tag in my loop wasn't really
> the last. I had this:
>
> for tag in tags_list:
> tag.blogs_count = tag.blogpost_set.count()
>
> So, each tag would get a blog count,
Hi folks,
I have a Member model representing a site user. I wish to add functionality
to allow users to upload images to their profiles, and I need a pointer to a
*simple* file upload solution for Django.
Any ideas?
--
Regards,
Sithembewena Lloyd Dube
http://www.lloyddube.com
--
You received
:) Thanks Venkatraman, I noted with embarrassment that it's painless via the
model, somewhere in the docs.
Thanks.
On Thu, Nov 25, 2010 at 3:02 PM, Venkatraman S wrote:
>
> On Thu, Nov 25, 2010 at 6:10 PM, Sithembewena Lloyd Dube <
> zebr...@gmail.com> wrote:
>
>
temp_handle.read(), content_type='image/png')
self.thunbnail.save(suf.name+'.png', suf, save=False)
# Save this photo instance
super(Photo, self).save()
class Admin:
pass
def __str__(self):
there a way to dynamically get
the path from the file upload dialogue where the user browses to it and
selects it?
Thanks...
On Fri, Nov 26, 2010 at 3:49 PM, Sithembewena Lloyd Dube
wrote:
> Hi all,
>
> I have a Photo model which should take an image, generate a thumbnail and
> save both the
desktop path.
Thanks!
Lloyd
On Fri, Nov 26, 2010 at 4:14 PM, Daniel Roseman wrote:
> On Nov 26, 2:03 pm, Sithembewena Lloyd Dube wrote:
> > I found the issue: it is the path to the image. When I change the problem
> > line to
> >
> > image = Image.open(os.path.realp
1 - 100 of 338 matches
Mail list logo