Re: Django/python free Training

2020-12-19 Thread Rg Lee
I am interested Oyedele Yusuff 于 2020年12月20日周日 07:53写道: > I'm interested > > On Fri, 18 Dec 2020 3:26 pm Python Class, > wrote: > >> Hi guys, >> >> I am manucho from Kenya and am good developer with django and python and >> i want to teach people what i know .I want to start a youtube channel f

Re: Turn off migrations completely in Django 1.7

2016-04-21 Thread john . rg . orr
On Thursday, 21 April 2016 18:51:48 UTC+10, Marcin Nowak wrote: > > If you're building some report-like queries, or any static queries, I > would suggest to use raw sql. > You can optionally wrap results with model instances using > Model.objects.raw(). > Thanks Marcin. Yeah, good call perhap

Re: Turn off migrations completely in Django 1.7

2016-04-21 Thread john . rg . orr
Thanks for the comment Matt. I wasn't trying to change anything in the database, it was just that Django wanted the django_migrations table to exist, but it didn't, and the db was read-only for safety during testing. Could well be that I wasn't using fake properly, I'm not sure, but I'd still

Re: Turn off migrations completely in Django 1.7

2015-12-02 Thread john . rg . orr
+1 for disabling migrations completely - for several reasons. 1. Right now, I'm trying to run tests against a production database with runserver, in *read-only* mode - but it fails because it can't create the django_migrations table. (I'm in the process of upgrading from Django 1.4 to 1.8, so

Re: Django installation on Linux

2009-02-11 Thread rg
Ohh I see. I'll reinstall a newer one. Thanks! On Feb 11, 9:27 pm, Alex Gaynor wrote: > On Wed, Feb 11, 2009 at 10:26 PM, rg wrote: > > > 2.2.3. > > > On Feb 11, 12:21 pm, Alex Gaynor wrote: > > > On Wed, Feb 11, 2009 at 12:20 PM, rg wrote: > > &

Re: Django installation on Linux

2009-02-11 Thread rg
2.2.3. On Feb 11, 12:21 pm, Alex Gaynor wrote: > On Wed, Feb 11, 2009 at 12:20 PM, rg wrote: > > > So I'm trying to install Django on a Linux server (I don't have root > > access) and when I run > > $ python setup.py install > > > I get the following

Django installation on Linux

2009-02-11 Thread rg
w should I fix this? I thought maybe to modify the 'os.path.dirname (__file__)' line and to specify the abs path for the root_dir (does the roor_dir mean the Django directory? ) Thanks! rg --~--~-~--~~~---~--~~ You received this message because you are

Static content in admin?

2007-04-17 Thread RG
Is there any way to manage static blocks of content from the admin panel? I am converting my companies website into django and many "non- programmers" will be maintaining the content. There are blocks on the home page that will get updated only ever so often, as well as footers, contact pages.. e

getting 404's with apache

2007-04-05 Thread RG
I have apache+mod python locally installed with the following defined in the apache config: SetHandler python-program PythonPath "['C:\DjangoProjects'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE testproject.settings PythonDebug On When I navigate to

python textile library?

2006-10-09 Thread RG
Been playing around with generic views and templates and have run across this error: Exception Value: Error in {% textile %} filter: The Python textile library isn't installed. So is there a python textile library I need to install? If so, where can I get this and how can I install it? Thanks, Ry