I'm very happy with Sphinx and David Cramer's Django-Sphinx, very easy
to implement!
Cheers
- rich
http://www.davidcramer.net/code/117/announcing-django-sphinx-200.html
On Apr 16, 12:11 am, brydon <[EMAIL PROTECTED]> wrote:
> I'm curious what people are currently using
Both questions answered very helpfully.
Thank you very much!
- Richard
On Apr 26, 12:29 pm, Darryl Ross <[EMAIL PROTECTED]> wrote:
> Richard Atkinson wrote:
> > Hello all! Been lurking for a while, this is my first post.
>
> Welcome!
>
> > I understand that RequestContext is required in order t
res in my first django project.
I've had one drama where Gutsy crashed: out of memory, unfortunately I
didn't realise until all log evidence fell off the end of the syslog
cliff.
Happy optimising
Rich
On Apr 27, 3:16 pm, Prairie Dogg <[EMAIL PROTECTED]> wrote:
> Hey Everybody,
tterns I should be using or avoiding.
>
> On Apr 27, 7:17 am, rich <[EMAIL PROTECTED]> wrote:
>
> > Thanks for sharing!
>
> > My setup is similar to yours except I don't use nginx at all - just
> > another apache virtual host for media.mysite.com. Not sure whi
More out of curiosity than anything else, is anybody using Django on
Jython?
--~--~-~--~~~---~--~~
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
quot;James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 30, 2008 at 9:44 PM, rich <[EMAIL PROTECTED]> wrote:
> > More out of curiosity than anything else, is anybody using Django on
> > Jython?
>
> Several people are, and are actively involved in improving b
emory alternative to mod_python.
I have a 256MB slice, and for $20 per month it's excellent.
If you can do it at home, you can do it on a VPS.
Rich
On May 5, 7:07 pm, tupixo <[EMAIL PROTECTED]> wrote:
> > You may recognize my name from that forum topic.
>
> > I've been wo
quot;, daemonize="false")
...Now what?
I know I need flup. And I need to put the Django source on the server.
But *where* do I upload them to, and *how* do I install them (how do i
run the setup.py) without SSH?
Any help would be awesome.
Thanks guys.
-rich
--~--~-~--~~---
Hi I am pretty new to django and I feel like I either have some kind
of configuration wrong or maybe im not understanding how something
works.
Whats happening is when I make a small change in one of my templates,
the change is not reflected on my site.
I have noticed that if I make significant ch
I found my problem... I had 2 different templates created with the
same code and I was using the wrong one
On Feb 19, 9:53 am, Rich wrote:
> Hi I am pretty new to django and I feel like I either have some kind
> of configuration wrong or maybe im not understanding how something
&
I know it's possible to overwrite the Django admin templates by
copying the templates to your local project. I want to modify the
"add user" template but cannot seem to figure out which template it
is. I want to create a button which will use APG to generate a random
password rather than typing i
Thanks! I will check out urls.py to find the template for that view
On May 3, 2:38 pm, Shawn Milochik wrote:
> You can check out the urls.py in admin and use that to find the view and
> template.
>
> http://code.djangoproject.com/browser/django/trunk/django/contrib/aut...
--
You received this m
Thanks! Jacob. I will check it out.
Richard
On May 3, 2:50 pm, Jacob Kaplan-Moss wrote:
> On Tue, May 3, 2011 at 1:23 PM, Rich wrote:
> > I know it's possible to overwrite the Django admin templates by
> > copying the templates to your local project. I want to modi
I'm still not able to narrow down on which template I need to modify,
perhaps it is a group of templates.
This is the screen shot of the admin panel.
https://picasaweb.google.com/108522207223325173920/May42011DjangoAdmin?authkey=Gv1sRgCIbMrMaet7XudQ#5602847506056859010
In Uploader, I click on Add
Django framework comes with a reset password out of the box feature.
I would like to modify this to where a password is sent to the user
via e-mail. I looked at the code in django\contib\auth\views.py
I'm not sure how I can modify it.
Django Reset Password
The Django framework comes with s
I'm new to Django and trying to place a custom middleware file in the
Django path. I'm modifying the settings.py file in my project. The
swfupload.py is located in django
/usr/lib/python2.4/site-packages/django/middleware
I had it in the project earlier but ti did not work and this does not
work
Thanks! guys for all the help
regard,
Richard
On Jan 27, 6:45 am, Piotr Kilczuk wrote:
> > That isn't exactly mod_wsgi's fault. You should go have a read of:
>
> > http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
>
> > some time and then you might understand the horrible
hi i am trying to create user profiles with django , id like a user to
be able to log in through the django admin site and add things to
their profile, then view the profile on the profile page
does anyone know of any tutorial created on how to set something like
this up?
ive been reading and rea
's written) for
companies, contacts, and other sales information. I've not before used
grids or forms so these are new to me and having a template I can modify
(or use for ideas) would be very helpful. Pointers appreciated.
Rich
--
You received this message because you are subscr
Hi all,
Quick question. Is there any way to add a verbose name for one of
my apps? I have an app named my_transfers and in the admin index view
it displays it as
My_Transfers
---
-model 1
-model 2
-blah blah blah... etc
A minor point =).
Thanks in advance.
Chris
Cool thanks,
Yeah I was didn't think there was a meta class for the app names.
I'll go fiddle around with it.
Chris
On Jul 9, 3:23 pm, Tim Chase <[EMAIL PROTECTED]> wrote:
> > Quick question. Is there any way to add a verbose name for
> > one of my apps? I have an app named my_transfers and
Hey all,
So, I'm a beginner here with Django/webdesign/database stuff/all the
rest of it and I may be getting ahead of myself. I am currently
getting my feet wet in the Django environment, but I eventually want
to graph/calculate averages on some of the values in my database. I
would like to d
Nevermind. You just got newbafied. Our projects override the default date
time format on the callback.
Sorry. Anyone interested in the form code can e-mail me though!
On 10/15/07, personificator <[EMAIL PROTECTED]> wrote:
>
>
> The default models.DateTimeField() renders a 1-24 hour select input
>
Hi all,
I'm new to Django and new to html/css/webdesign in general. I have
a question about how to have my base.html template point to the
correct directory where I store my .css file for my site.
I noticed in the admin version, the admin .css is store in the
subdirectory /media/css/. This
Ok,
I just got it to work by using the {% include %} tag. Is this a
fine way to include css stuff or should I not use this for some
reason?
Chris
On Nov 15, 3:41 pm, Chris Rich <[EMAIL PROTECTED]> wrote:
> Okay,
> I think I am still doing something wrong.
>
> So, I went
Gotcha,
Ok back to trying to figure out how to make it work properly. If you
have any comments to my 2nd post that would be greatly appreciated.
Chris
On Nov 15, 3:57 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> On Nov 15, 6:54 pm, Chris Rich <[EMAIL PROTECTED]> wrote:
>
> &
Awesome,
Its working now. Thanks again!
Chris
On Nov 15, 4:16 pm, Chris Rich <[EMAIL PROTECTED]> wrote:
> Thanks for the advice!
>
> I'll go try it right now and let you know how it goes.
>
> Chris
>
> On Nov 15, 4:03 pm, RajeshD <[EMAIL PROTECTED]> wro
Thanks for the advice!
I'll go try it right now and let you know how it goes.
Chris
On Nov 15, 4:03 pm, RajeshD <[EMAIL PROTECTED]> wrote:
> > MEDIA_ROOT = 'C:/Documents and Settings/Nserc2/My Documents/
> > mytemplates/media'
>
> > MEDIA_URL = /mymedia/
>
> > You also mentioned to activate the
Okay,
I think I am still doing something wrong.
So, I went ahead and sent my MEDIA_ROOT to my filepath for my template
folder as below:
MEDIA_ROOT = 'C:/Documents and Settings/Nserc2/My Documents/
mytemplates/media'
Then I set
MEDIA_URL = /mymedia/
You also mentioned to activate the appropr
? I'm a bit of a Python newbie so I'm pretty unfamiliar
with the code base. Django becomes somewhat unusable to me if I can't
use it in conjunction with MS SQL.
Thanks,
Rich Bakos
where foo = @fooName
MS SQL uses the @ sybol for parameter declaration.
When I get in from of my dev machine, I'll post the traceback for
Adrian to look at.
- Rich
ions].[session_data],[core_sessions].[expire_date]
FROM [core_sessions] WHERE [core_sessions].[session_key] = %s with
parameters: ['1be3c794e7f7b0758d8b108f406bbd19']
Here is the exact SQL that is passed to MS SQL:
SELECT
[core_sessions].[session_key],[core_sessions].[session_data],[core_sessions].[expire_date]
FROM [core_sessions] WHERE [core_sessions].[session_key] = %s
As you can see, it has stopped at %s.
Is there anything I can do to help?
Rich
t I'm
talking about.
The example traceback I posted for Adrian occurs for every query Django
tries to run against MS SQL .
E.G - an insert query is being passed as:
Insert into T1 value1, value2 values(%s, %s)
Rich
lt = self._oleobj_.InvokeTypes(*(dispid, LCID, wFlags, retType,
argTypes) + args)
com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft OLE DB
Provider for SQL Server', 'Syntax error converting character string to
smalldatetime data type.', None, 0, -2147217913), None)
--- ADODBAPI on command:INSERT INTO [core_sessions]
([session_key],[session_data],[expire_date]) VALUES (?,?,?) with
parameters: ['73f7cab87733fc1fac258676de931134',
'KGRwMQpTJ3Rlc3Rjb29raWUnCnAyClMnd29ya2VkJwpwMwpzLjIxNzM0ZjA3YjI4OWFmYWVhNzBi\nZGE5MTBmMWVmYzU5\n',
'2006-01-24 21:45:11.166000']
Any advise?
Thanks,
Rich
after version 6.5.
This is not the best option IMHO.
Rich
Cheng Zhang wrote:
Hi Cheng,
> Actually my previous statement isn't correct, I just realized that
> pymssql also claimed to work on Windows, except it will use M$'s
> native libraries instead of FreeTDS.
You worked this out quicker than I ever could have. Thanks.
it of money
to work on an open source project.
Rich
--
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, send email to
django
e useful.
Thanks so much!
Rich
--
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, send email to
django-users+unsubscr...@googlegroups.com
to see if this is a valid URL. I
would like this to be unvalidated instead.
How do I go about changing it? Will I need to do a database migration
to do this? Or can I just add a 'verified=False' and run syncdb?
Thanks so much!
Rich
--
You received this message because you are subscribed
g the
questions you will ask.
Cheers,
rich
On Tue, Aug 20, 2013 at 12:48 PM, Sergio Infante Montero <
raulserg...@gmail.com> wrote:
> Maybe, you need some book like this
>
> https://django.2scoops.org/
>
> Regards
>
> On Tue, Aug 20, 2013 at 11:21 AM, Marcos Moyano
>
Personal preference. Python has excellent libraries to support parsing both
JSON and YAML.
Sent from my iPhone
On Aug 30, 2013, at 7:34 AM, Floor Tile wrote:
> Helle everybody,
>
> Just a short and simple question:
>
> It seams that both JSON and YAML can be used for initial data loading. (
Try one of the following:
Gondor
GoogleApp Engine
Heroku
On Tue, Sep 10, 2013 at 3:55 PM, Andre Lopes wrote:
> Hi all,
>
> I'm stuck with Django hosting. I've A2hosting but the Django hosting
> is not good at all.
>
> They use FCGI and Passenger and both have a problem.
>
> If I'm more than 15
As with all software the best solutions are written to solve a problem that
bugs the developer. Find something that you find troublesome on a regular
basis, then code a solution.
Sent from my iPhone
> On Oct 12, 2013, at 12:26 AM, jasvir singh
> wrote:
>
> Hello everyone.
>
> I am new to t
Dear all
We have an opening for a Django/Python developer. Role is based in the
Midlands, UK. Great environment, great team. Get in contact for more
details.
Thanks
Rich
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Other than the convenience of writing them, I can't seem to find any
advantages of using model inheritance.
Please allow me to explain the trouble I am having with an example.
Suppose,
class Post(models.Model):
title = models.CharField(max_length=200)
user_owner_id = models.ForeignKey(Use
the below example you pasted
> is invalid code (i.e. you need to add a proxy _meta??).
> My apologies if I'm wrong though, as I have never encountered a need to do
> this before, and just going off vague memory.
> Cal
> On 23/06/2011 19:24, Rich Jones wrote:Other than the c
Even ignoring the select_related then - the fact is that
user.post_set works and user.betterpost_set won't work, seemingly as
the result of using model inheritance.
Perhaps I could get all of the posts (post and betterposts) and then
filter by time? Does that make sense / is there a way to do tha
bose_name=_('user'),
related_name='profile')
Can anybody help me? I'm going nuts over here. I just don't know why the
behavior would be different for runserver and Apache!
Any ideas?
Thanks so much!,
Rich
--
You received this mes
is trying to put user into a field
> instead of treating it as a table.
> Basic sanity checks :
> - is the djagno versions on both production and local same ?
> - same for wsgi and apache ?
> - syncdb worked fine ?
>
> V.
>
>
>
> On Thu, Feb 13, 2014 at 11:30
Since this seems to happening at a pretty deep level, would it be uncouth
to kick this over do django-dev?
On Thu, Feb 13, 2014 at 9:17 AM, Rich Jones wrote:
> Yes, all of these things worked just fine. The code is in the _same
> location_ on the _same machine_ with the _same settings_ a
Ah, okay, noted, although I believe this may be a bug in Django itself but
want to exhaust everything before I open a ticket.
--
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
cation does _run_ with Apache, it is only
on calls related to user.get_profile() which causes the problem.
Is there anything else you'd need to know?
On Thu, Feb 13, 2014 at 3:01 PM, Tom Evans wrote:
> On Thu, Feb 13, 2014 at 6:00 AM, Rich Jones wrote:
> > Hey guys!
> >
Said fuck it, gave up and used Nginx + Gunicorn.
We're good now. No idea what the hell was happening, but this works now.
Humbling to realize how little I know about the ORM internals.
Thanks for listening,
R
On Thu, Feb 13, 2014 at 3:13 PM, Rich Jones wrote:
>
> > Please sh
No virtualenv on the machine, so
that's the same, and then mod_wsgi was version 2.6 and so is Python.
No matter now, but the mystery remains.
On Fri, Feb 14, 2014 at 1:34 AM, Tom Evans wrote:
> On Fri, Feb 14, 2014 at 12:38 AM, Javier Guerra Giraldez
> wrote:
> > On Thu, Feb 1
_fields=d.keys())
Now, I know I can just make my own mixin (maybe add a save_dict()) to do
this, but it seemed like something worth sharing.
Rich
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
fully quiet.
Rich
--
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 group, send email
I've not received messages from this mail list since last summer. I now
have a need to communicate with others and learned that I'm still subscribed
so I want to learn if this message posts and is sent back to me by the MLM.
Rich
--
You received this message because you are subscri
I'm using Django's (1.11) typical default db for my regular Django
development, but I need to integrate with someone else's bugzilla db server
running on mysql somewhere else (no web api available, mysql is the
recommendation from them). So I've added a 2nd DB to my DB config
pointing to th
On Tuesday, May 29, 2018 at 12:09:46 PM UTC-7, Rich Rauenzahn wrote:
>
>
> Is this possible? How?
>
>
Ah, found this thread which suggests just using sqlite locally... I'll give
it a try:
https://groups.google.com/forum/#!topic/django-users/jxkTmibjmX4
--
You received
I'm having a strange problem. My test environment has been working fine,
but I am upgrading my environment's Django revision slowly, which means I
also need to move away from django-nose's FastFixtureTestCase.
I'm now at Django 1.7. I have a TestCase which is more or less...
class Foo(TestC
I've been tracing into django core code, and it looks to me that I have a
case where the fixture has a auth.User(username=rich) with a pk=1 in the
fixture. But sometimes as the User fixture with pk=1 is being added
(updated?) through Model._save_table(), the same User with pk=5 is alread
On Thursday, May 5, 2016 at 4:22:11 PM UTC-7, Mike Dewhirst wrote:
>
> Are you using setUp() and tearDown() as class methods in your test class?
>
>
No, the code was using setUpClass(), which is a classmethod.
--
You received this message because you are subscribed to the Google Groups
"Djan
On Friday, May 6, 2016 at 4:11:42 AM UTC-7, Alasdair Nicol wrote:
>
>
>>
>> But In this particular run I'm currently tracing, rich is already in the
>> db (as the only entry) as pk=5 (via fixture loading process). For one,
>> this tells me the sequence
pose there's no reason to not use python-2.7.5 installed here for
this project, unless you advise me otherwise. I also need some advice and
guidance on how to proceed on creating a django application from the php
source files.
TIA,
Rich
bdirectory.
I'll have to learn how to get it to install in -3.5.2, too.
Thanks,
Rich
ate them in a single application.
Will use python3, however.
Thanks,
Rich
On Mon, 15 Aug 2016, Rich Shepard wrote:
I'll have to learn how to get it to install in -3.5.2, too.
Found the answer: pip3.
Rich
On Tue, 16 Aug 2016, Avraham Serour wrote:
you should also create a virtualenv for the project
Avraham,
OK. Please point me to some docs for this.
Regards,
Rich
On Tue, 16 Aug 2016, Avraham Serour wrote:
https://virtualenv.pypa.io/en/stable/
Thanks, Avraham. Looks interesting.
Rich
py
These were created by the startproject command.
Now knowing how I dug this hole I'm in I'd appreciate your teaching me how
to get out of the hole and move on.
Rich
ut overlooked the implications.
Thanks very much,
Rich
ls.py
and I wonder why the project-related files in this subdirectory are not
under the parent project directory. In other words, why is there a project
subdirectory under the project directory?
Thanks,
Rich
Reading the doc for DateField() I tried to set the default as today's
date, but 'default=date.today' is not accepted.
If there is a way to set today's data as the default for a DateField()
please point me to the doc for it.
Thanks,
Rich
that import in the tutorial.
Thanks!
Rich
On Tue, 23 Aug 2016, Carsten Fuchs wrote:
I cannot remember where is was stated, but iirc another reason for the
“project-under-the-project” subdirectory was that it is considered not as
app, but rather as “site”.
Carsten,
Thanks for the clarification. That helps.
Rich
erience I want to learn how best to organize everything.
Thanks for the insights,
Rich
is insufficient.
Rich
served me well since I replaced CVS with it. Backups
are daily (using dirvish) and since the repository's been in the same place
for almost a couple of decades it's not likely to be moved. :-)
Thanks for confirmation,
Rich
On Tue, 23 Aug 2016, François Schiettecatte wrote:
I would add a +1 for git, I started off with svn and switched to git,
branching and merging is much easier which really helps when you want to
test ideas.
François,
Thanks for your insight,
Rich
h project) will not be onerous.
Suggestion taken,
Rich
represent
individual tables? That is, should my project have a separate app for each
table with its models, templates, and views with templates of joined tables
in the main project subdirectory? Or are all tables in a single app?
TIA,
Rich
ones is
not always easy.
Thanks very much,
Rich
,
you can rearrange.
No, not on this project. But the next one will require more apps because
it has more functional groupings.
Many thanks again,
Rich
you've given me an alternative approach for my application slightly
different from Lee's way of presenting it. Much to think about before I
proceed.
Much appreciated,
Rich
e no reason to get a newer, but still two versions
behind, copy.
Thanks very much,
Rich
revised version released.
Thanks in advance,
Rich
t page but when time permits I'll
look around and see if I can find the source. Wonder if it's written in
LaTeX; if so, the typefaces can easily be change.
Thanks,
Rich
nvert the time card records into a line-item invoice, and I
find nothing suitable in my Web searches (because they either do not run on
linux or require MySQL as the backend database.
It should not be too difficult to put together this application if one's
not already available.
TIA,
Rich
rch string than those I used. I'll definitely look
at the project management packages.
Much appreciated,
Rich
On Fri, 2 Sep 2016, Rich Shepard wrote:
I'll definitely look at the project management packages.
It appears that django-timepiece will fulfill my needs.
Thanks again,
Rich
The django-timepiece project requires a tool called 'less,' a css
preprocessor. However, on linux systems (if not also other unices)
/usr/bin/less is a pager with greater capabilities than more.
Is there a conflict between these two? Where would the css-less be
installed?
TIA,
Rich
look at the last two URLs first; need to install requirements before
trying django-timepiece.
Regards,
Rich
closer to interpolation speed.
Perhaps that is my best answer.
Any thoughts or pointers on my predicament?
Thanks!
Rich
--
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, se
Is there a tool to convert postgres DDL to django model syntax? It would
sure save a lot of time and effort if there is a converter.
Rich
On Sat, 29 Oct 2016, m1chael wrote:
https://docs.djangoproject.com/en/1.10/howto/legacy-databases/
I missed seeing that. Thanks very much.
Rich
Hi guys,
I just finished learning python on sololeran.com.
And I wanna start django, so I was wondering If anybody would wanna help me
personally.
Like I said I have a fair knowledge about python.
I would be grateful.
thanks,
On Sat, 9 Feb 2019 at 11:43, PASCUAL Eric wrote:
> Hi,
>
> Templates a
I wonder if this is a case you want to catch and *not* warn about.
In my case, I'm doing a:
haves =
MyModel.objects.filter(foreign_relationship=4).order_by('foreign_relationship__value',
'common_key')
havenots = MyModel.objects.exclude(id__in=haves).order_by('common_key')
query = haves.union(
xample of how to set up and structure
such an application please point me to it so I can learn from success.
Pointers, references to docs or web sites will be appreciated and used.
TIA,
Rich
ch in his/her own private section. How to do this may be
in 2 scoops, or may not. If I don't see how to do this I'll be back with
more questions.
Thanks,
Rich
rs to work in their own database area and keeps users from
areas assigned to others. This is independent of the django project/app code
arrangement.
Thanks again,
Rich
1 - 100 of 133 matches
Mail list logo