Re: Reusing a code snippet

2011-04-12 Thread Sithembewena Lloyd Dube
dleware to the django-pagination middleware and it works just fine. Thank you! On Tue, Apr 12, 2011 at 12:01 PM, Daniel Roseman wrote: > > On Tuesday, April 12, 2011 10:44:27 AM UTC+1, Lloyd Dube wrote: >> >> Hi all, >> >> I found a code snippet to fix a dumplicvate

Re: Reusing a code snippet

2011-04-12 Thread Sithembewena Lloyd Dube
Thanks Daniel :) On Tue, Apr 12, 2011 at 12:20 PM, Daniel Roseman wrote: > On Tuesday, April 12, 2011 11:17:15 AM UTC+1, Lloyd Dube wrote: >> >> Hi Daniel, >> >> Thanks. I would think that plugging about in the default django >> installation would not be goo

Re: What happens if pk value gets too big?

2015-04-03 Thread Sithembewena Lloyd Dube
cussion on the web visit > https://groups.google.com/d/msgid/django-users/CAJxq84-f1ORXSOF6i%3DW7AZVuMqRe_4S9G1ZxA%3DnxP-D8q%3DSA1g%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAJxq84-f1ORXSOF6i%3DW7AZVuMqRe_4S9G1ZxA%3DnxP-D8q%3DSA1g%40mail.gmail.com?utm_medium=email&am

Preparing virtualenvwrapper for Django 1.6 development

2014-08-22 Thread Sithembewena Lloyd Dube
ate this to Windows speak, as well as perhaps pointing out what file this would go into in a Windows environment? Thanks in advance :) Kind regards, Sithu. -- Regards, Sithu Lloyd Dube -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django 1.7 tutorial: Use generic views

2014-08-30 Thread Sithembewena Lloyd Dube
m/d/msgid/django-users/5be54cfd-ed53-40ca-b7e1-297814c1727d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/5be54cfd-ed53-40ca-b7e1-297814c1727d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/opt

Re: [ANNOUNCE] Django 1.7 released

2014-09-02 Thread Sithembewena Lloyd Dube
s.google.com/d/msgid/django-users/CAL13Cg_Cdzf3aYLxfV0qgrMY3CqbOqt%3D0DxEm1V27%2BzF65O_cA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAL13Cg_Cdzf3aYLxfV0qgrMY3CqbOqt%3D0DxEm1V27%2BzF65O_cA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more

Re: ORM performance

2014-09-03 Thread Sithembewena Lloyd Dube
> Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAHN%3D9D6ATHXVzDhwoXBx1xG0hS9n%3Do6egG450Js1Hrwv9KQTBg%40mail.gmail.com > <https://groups.google.com/d/msgid/dj

Re: Suggestions about building new ecommerce website

2014-09-08 Thread Sithembewena Lloyd Dube
ooglegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CABeWMUZEy%3DK-ML_n731aLtM7%2Bts4S0Ud7wjufS_nRFmV7oEy2w%40mail.gmail.com > <https://groups.google.com/

Cannot import models from utility script

2014-10-05 Thread Sithembewena Lloyd Dube
ities, I am getting an ImportError when trying to do 'from my_app.models import Blah'. ImportError: No module named my_app.models Any ideas as to what I am missing here? -- Regards, Sithu Lloyd Dube -- You received this message because you are subscribed to the Google Groups "D

Re: ANN: Django website redesign launched

2014-12-17 Thread Sithembewena Lloyd Dube
roup/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/87zjamzz30.fsf%40physik.rwth-aachen.de > . > For more options, visit https://groups.google.com/d/optout. > -- Regards, Sithu Lloyd Dube -- You received this message because you

Re: ANN: Django website redesign launched

2014-12-17 Thread Sithembewena Lloyd Dube
this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/845e4c2a-ff65-4691-b82d-02b5dfb193e6%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/845e4c2a-ff65-4691-b82d-0

Serving static files and media in Django 1.7.1

2015-01-06 Thread Sithembewena Lloyd Dube
c/' setting defined in the settings file. -- Regards, Sithu Lloyd Dube -- 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...@g

Re: Serving static files and media in Django 1.7.1

2015-01-06 Thread Sithembewena Lloyd Dube
Thanks @Vijay! Can't believe that caught me out like that. Regards, Sithu On Wed, Jan 7, 2015 at 1:34 AM, Vijay Khemlani wrote: > the static tag should be > > {% static 'mainsite/bootstrap.css' %} > > according to the layout you said > > On Tue, Jan 6, 2015

Re: Best way to learn Django considering Python versions and etc.

2013-12-11 Thread Sithembewena Lloyd Dube
up at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/3a4cfa57-29ab-44f5-9c2f-95cc66e6c4c6%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. >

The Django 1.7 tees!

2014-04-30 Thread Sithembewena Lloyd Dube
Size=small :) -- Regards, Sithu Lloyd Dube -- 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.com. To post to this gr

Re: The Django 1.7 tees!

2014-05-01 Thread Sithembewena Lloyd Dube
eek. > > Yours, > Russ Magee %-) > > > On Wed, Apr 30, 2014 at 11:58 PM, Sithembewena Lloyd Dube < > zebr...@gmail.com> wrote: > >> To Whom It May Concern, >> >> I am devastated that I could not place an order for one of the new Django >> 1.7 tees

PyCountry currency formatting woes

2014-05-04 Thread Sithembewena Lloyd Dube
by country's numeric and format price currency = pc.currencies.get(numeric=country.numeric) letter = currency.letter formattedCurrency = "%s %s" % (letter, price) return formattedCurrency Any ideas as to what the issue may be? Thanks :) -- Regards,

Re: PyCountry currency formatting woes

2014-05-04 Thread Sithembewena Lloyd Dube
e? On Sun, May 4, 2014 at 10:25 PM, Sithembewena Lloyd Dube wrote: > Hi everyone, > > I have a function which accepts an alpha2 country code and a price string, > where the aim is to get the country's currency and use the currency.letter > property of that currency to format the

Re: [Tutor] PyCountry currency formatting woes

2014-05-06 Thread Sithembewena Lloyd Dube
Thanks for this response, this is exactly what I needed to know. On Mon, May 5, 2014 at 6:26 AM, Marc Tompkins wrote: > On Sun, May 4, 2014 at 1:55 PM, Sithembewena Lloyd Dube > wrote: > >> Thanks, i was actually getting the error information to update the post. >> Apoligi

Re: What is different of handling character code between pure Python and Django?

2014-05-06 Thread Sithembewena Lloyd Dube
ribed 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.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http:

Re: [Tutor] PyCountry currency formatting woes

2014-05-08 Thread Sithembewena Lloyd Dube
Thank you all, babel works just fine. I also tried ccy, which isn't bad either - except that it returns non-unicode currency letters for countries in the Eurozone. On Mon, May 5, 2014 at 10:10 AM, Peter Otten <__pete...@web.de> wrote: > Sithembewena Lloyd Dube wrote: >

Re: The Django 1.7 tees!

2014-05-21 Thread Sithembewena Lloyd Dube
t; placing an order, so we've re-opened the campaign for one last run to make > sure everyone who wants a shirt can get one. You can place your order here: > > http://teespring.com/django17-v2 > > You have until the end of May. > > Yours, > Russ Magee %-) > > &

Re: The Django 1.7 tees!

2014-06-02 Thread Sithembewena Lloyd Dube
Hey Russell, I placed an order for a small tee, but I see my card has not been debited in my bank statement? When do they get charged/ shipped? Thanks, Lloyd On Wed, May 21, 2014 at 2:17 PM, Sithembewena Lloyd Dube wrote: > Hi Russell, > > Thank you! I really appreciate you bri

Re: The Django 1.7 tees!

2014-06-07 Thread Sithembewena Lloyd Dube
rts should have gone into production on Monday as well, and > generally ship within 2 weeks. US deliveries take 7-14 days from end of > campaign; international take 14-21 days. > > Yours, > Russ Magee %-) > > > On Mon, Jun 2, 2014 at 8:13 PM, Sithembewena Lloyd Dube > wrote: &g

Re: The Django 1.7 tees!

2014-06-07 Thread Sithembewena Lloyd Dube
s to any info beyond that. > > However, personally, I wouldn't take absence of a bank record to be > evidence of anything. Interbank currency arbitrage is a mess :-) > > Yours, > Russ Magee %-) > > > On Sunday, June 8, 2014, Sithembewena Lloyd Dube > wrote: > >> H

Re: Any position for Django/Python Developer?

2014-06-18 Thread Sithembewena Lloyd Dube
/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAL4xV_A85m1%3DSv92tiVwYD%2BPK7QkwpZ1YRC%3DC9X7p7RUz5JHuQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAL4xV_A85m1%3DSv92tiVwYD%2BPK7QkwpZ1YRC%3DC9X7p7RUz5JHuQ%40mail.gmail.c

Re: Any position for Django/Python Developer?

2014-06-18 Thread Sithembewena Lloyd Dube
Also search on Indeed.com. On Wed, Jun 18, 2014 at 6:20 PM, Sithembewena Lloyd Dube wrote: > Hey, > > Try www.djangogigs.com? Also, search LinkedIn - I always see stuff posted > there. Join the Django and Python groups. > > > On Wed, Jun 18, 2014 at 5:08 PM, Kannan wrote:

Re: apps for hotel site

2014-06-25 Thread Sithembewena Lloyd Dube
m?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Regards, Sithu Lloyd Dube -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gr

Re: The Django 1.7 tees!

2014-06-29 Thread Sithembewena Lloyd Dube
t get either of > those emails, then I don't know what's happened with your order - you might > want to contact TeeSpring support. > > Yours, > Russ Magee %-) > > On Sunday, June 8, 2014, Sithembewena Lloyd Dube > wrote: > >> Hi Russell, >> &g

Re: django beginner

2014-07-02 Thread Sithembewena Lloyd Dube
610d0%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/672a0fde-7804-4652-a18d-05d2a80610d0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Regards, Sithu Lloyd Dube

Re: django beginner

2014-07-02 Thread Sithembewena Lloyd Dube
oglegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Regards, Sithu Lloyd Dube -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Djang freelance hourly rates

2016-08-28 Thread Sithembewena Lloyd Dube
Out of curiousity, what do those who are freelancing on Django projects charge per hour? -- Regards, Sithembewena -- 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

Phone number field in form/ model

2016-12-14 Thread Sithembewena Lloyd Dube
Hi, Has anyone captured phone number information using a Form/ModelForm instance? I have the field as an IntegerField in my model and (for obvious reasons) it truncates the leading '0'. How have you solved this problem, anyone? -- Regards, Sithembewena -- You received this message because you

Re: Phone number field in form/ model

2016-12-14 Thread Sithembewena Lloyd Dube
Thanks guys! On Wed, Dec 14, 2016 at 9:47 PM, Michal Petrucha < michal.petru...@konk.org> wrote: > On Wed, Dec 14, 2016 at 09:36:06PM +0200, Sithembewena Lloyd Dube wrote: > > Hi, > > > > Has anyone captured phone number information using a Form/ModelForm > >

Re: How to structure this django application

2017-04-07 Thread Sithembewena Lloyd Dube
Hey Rich, My best recommendation for structuring Django projects (and for optimization and a myriad other goodies) would be the book Two Scoops of Django by Daniel and Audrey Roy Greenfeld. I could say a lot but the bottom line is, check the book out. It's at https://www.twoscoopspress.com/ There

Re: How to structure this django application

2017-04-07 Thread Sithembewena Lloyd Dube
Shepard" wrote: > On Sat, 8 Apr 2017, Sithembewena Lloyd Dube wrote: > > My best recommendation for structuring Django projects (and for >> optimization and a myriad other goodies) would be the book Two Scoops of >> Django by Daniel and Audrey Roy Greenfeld. I could say a lo

Re: Home Page

2016-02-23 Thread Sithembewena Lloyd Dube
Have you done the tutorial? Django is suitable for everything you listed, it's just that you need to learn how to implement those things in Django. This means you need to know how to use Django. I suggest you do the tutorial first. On Tue, Feb 23, 2016 at 2:59 PM, Malik Rumi wrote: > Why is the

Re: Debugging DJango app on production for High CPU Usage

2016-02-29 Thread Sithembewena Lloyd Dube
New Relic. On Wed, Feb 24, 2016 at 6:59 AM, Web Architect wrote: > Hi, > > We have an ecommerce platform based on Django. We are using uwsgi to run > the app. The issue the CPU usage is hitting the roof (sometimes going > beyond 100%) for some scenarios. I would like to debug the platform on > P

<    1   2   3   4