Re: Is ODBC supported so to use DB's like Access, Teradata?

2009-03-03 Thread Jeff Anderson
KG wrote: > What needs to be done to make use of any other DB engine thru ODBC? > An ODBC database backend would need to be written for the Django ORM. signature.asc Description: OpenPGP digital signature

Re: Login to another system with django

2009-02-19 Thread Jeff Anderson
u have described calls for an SSO module. Basically you modify Django and/or the other web app to use the same database table for sessions Django makes this fairly easy, and many PHP applications don't. There is probably a lot of resources "out there" by googling "Django SSO" Ta

Re: seg fault with LDAP authentication

2009-02-17 Thread Jeff Anderson
you tried the ldap backend contained in Ticket #2507? We've used this in production as long as the code has been around (the original author was my co-worker) We've had very few problems with it. http://code.djangoproject.com/ticket/2507 Jeff Anderson signature.asc Description: OpenPGP

Re: version control convention?

2009-02-10 Thread Jeff Anderson
odules/externals. Generally speaking, a single site could/should be a single Django project, and making this distinction doesn't come up terribly often in the configurations I've seen. Hopefully this was helpful and happy coding! Jeff Anderson signature.asc Description: OpenPGP digital signature

Django-gitosis

2009-02-01 Thread Jeff Anderson
e, and why? Thanks for the input! Jeff Anderson gitosis: |git://eagain.net/gitosis.git| --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: free django hosting

2009-01-30 Thread Jeff Anderson
Hernan Olivera wrote: details in http://www.alwaysdata.com/offers/shared/ Very cool! I don't speak French, but I know enough about words to get the idea. signature.asc Description: OpenPGP digital signature

Re: free django hosting

2009-01-30 Thread Jeff Anderson
your home machine. If you find otherwise, I'd be interested to know. Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Cron Job Question

2009-01-29 Thread Jeff Anderson
ripts with their fingers in the same table. Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Any libraries to create an online help system in Django or Python?

2009-01-17 Thread Jeff Anderson
t's the documentation build system that Python and Django both use. Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: How to receive Emails in my django app

2009-01-16 Thread Jeff Anderson
your domain's mailserver. The third option is to use an imap or pop library and download the messages that way. Python has the 'imaplib' module for imap, and 'poplib' for pop3. I haven't implemented this either. I'd be willing to guess that this is easiest if you have a shared host, or don't run your

Re: can Django's views call on several programs to run at the same time?

2009-01-13 Thread Jeff Anderson
t I haven't gotten my example for this one running quite yet. Hopefully this is enough to give you an idea as to how to design things. I don't really have any code that is sharable, but the concept is fairly straightforward (I hope.) I'm happy to clarify anything if needed. Happy Coding! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Shouldn't blank=True imply null=True?

2009-01-07 Thread Jeff Anderson
tofer...@gmail.com wrote: > On 07.01-08:51, Jeff Anderson wrote: > >>> I agree with this. I use null=False, blank=True for some ImageFields >>> and integers. >>> >> I'm interested in how a blank integer looks in a MySQL database. Can you >>

Re: Shouldn't blank=True imply null=True?

2009-01-07 Thread Jeff Anderson
Karen Tracey wrote: > On Wed, Jan 7, 2009 at 10:51 AM, Jeff Anderson > <jeffe...@programmerq.net>wrote: > > >> varikin wrote: >> >>> I agree with this. I use null=False, blank=True for some ImageFields >>> and integers. >>>

Re: lighttpd + django on windows

2009-01-07 Thread Jeff Anderson
Eric Simorre wrote: > it does not work , and I don't find what to do > Well, there's your problem. You should just make it work. :) signature.asc Description: OpenPGP digital signature

Re: Shouldn't blank=True imply null=True?

2009-01-07 Thread Jeff Anderson
varikin wrote: > I agree with this. I use null=False, blank=True for some ImageFields > and integers. I'm interested in how a blank integer looks in a MySQL database. Can you provide an example? signature.asc Description: OpenPGP digital signature

Re: Newbie: Help to understand string handling

2009-01-06 Thread Jeff Anderson
phoebebright wrote: > Thanks for your response. Do you think a working knowledge of python > is essential for django then? And do I import modules the same in > django and python? Are there any python things you can't do in > django? > Django *is* Python. In fact, Django is only a Python

Re: Shouldn't blank=True imply null=True?

2009-01-05 Thread Jeff Anderson
Malcolm Tredinnick wrote: > On Mon, 2009-01-05 at 23:39 -0700, Jeff Anderson wrote: > >> Malcolm Tredinnick wrote: >> >>> The way to think about this problem is whether there's a situation where >>> blank=True, null=False makes sense or is even possi

Re: Shouldn't blank=True imply null=True?

2009-01-05 Thread Jeff Anderson
ields (and quite possibly other non-text fields) should behave the way that Mike is describing. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Permissions: is something wrong with them?

2009-01-01 Thread Jeff Anderson
Artem Skvira wrote: > Is it worth asking this question is dev group? > No. Your usage question does not belong on the dev group. It belongs here, on the user group. signature.asc Description: OpenPGP digital signature

Re: Slow application performance...

2009-01-01 Thread Jeff Anderson
your available memory on your slice, and swapping. I had this same problem. I posted about it to this group a couple weeks ago. Basically, switch to mod_wsgi in daemon mode. It'll reduce your memory usage, and increase the speed of the site. Search the archive for more details. Jeff Anderso

Re: caching...mechanism

2008-12-29 Thread Jeff Anderson
ramming blog might be more inclined to disable javascript. As a fallback, you could simply use an iframe to point to your analytic view. That'll probably cover most everything. Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Variables in templates

2008-12-28 Thread Jeff Anderson
to put that data into the final file format for the end user (html in most cases). Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: django static-generator and fastcgi

2008-12-25 Thread Jeff Anderson
e never used this middleware, but its homepage seems to have an nginx example: http://superjared.com/projects/static-generator/#sample_nginx_configuration I don't think that using fastcgi should affect anything if you're using nginx. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Serializing QuerySets and Python objects best practices

2008-12-23 Thread Jeff Anderson
python json module. I know that Django makes use of it for importing/exporting database fixtures. It is bundled with django at: django.utils.simplejson. I'd start there, and poke around in the Django code for more examples. I'm no expert here, this is just where I'd start looking. Happy coding! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: "Building you first Django app, Part 1" example not working

2008-12-21 Thread Jeff Anderson
up on some unix basics. There are many tutorials about the unix shell out there. I can't recommend one because I would just google for an introduction to the unix/linux/macos terminal. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: "Building you first Django app, Part 1" example not working

2008-12-21 Thread Jeff Anderson
go-admin.py script exits on success with no output. That's what it's supposed to do. Does the mysite directory not exist after you run that command? Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: "Building you first Django app, Part 1" example not working

2008-12-20 Thread Jeff Anderson
fe...@pax:~$ django-admin.py startproject mysite jeffe...@pax:~$ cd mysite/ jeffe...@pax:~/mysite$ Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Admin formatting

2008-12-20 Thread Jeff Anderson
Correct. You have to tell apache that the location of the admin media should be handled with the default handler, and then make an alias for that location to point to the correct location on disk. This is in the docs: http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id1 Cheers,

Re: FTP'ing without locking

2008-12-17 Thread Jeff Anderson
maging having a persistant python thread hanging around processing for a minute or two would make the webserver hang in a mod_python or mod_wsgi environment, but I didn't try it. Why would this be the case? From the "I've done it without a hitch" department, Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: generating an image?

2008-12-12 Thread Jeff Anderson
- Windows only, uses IE for rendering http://cutycapt.sourceforge.net/ - cross platform, uses the same rendering engine as konquerer/google chrome/safari. Jeff Anderson signature.asc Description: OpenPGP digital signature

Memory Footprint

2008-12-09 Thread Jeff Anderson
also read that mod_wsgi performs better than mod_python. Please let me know if you have any other ideas! I'm also curious to know if anyone thinks that one of the things I mention trying would help or hurt. Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Please help me with static files serving

2008-12-08 Thread Jeff Anderson
heir MEDIA_URL url to something like '/static'. Another logical way to set the URLs is to have MEDIA_URL be '/media' and ADMIN_MEDIA_PREFIX set to '/media/admin' Hopefully this is helpful and makes sense! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Can javascript call a python script?

2008-12-03 Thread Jeff Anderson
avascript will send a request to the server without reloading the page in the browser, and can (optionally) change something in the loaded page based on data received by the response, while the server can do whatever it wants– including updating a database. Hopefully this is helpful! Jeff

Re: "safari can't open the page"

2008-11-29 Thread Jeff Anderson
with wireshark. It very well could be an issue with a header or something– especially if you're doing something crazy weird in the view. Have you checked the log to see if Safari is actually hitting the webserver? Hopefully this will give you some idea as to how to start diagnosing the problem. Jeff And

Re: locmem or memcache

2008-11-28 Thread Jeff Anderson
Peter Bengtsson wrote: > What's faster, locmem or memcache? > > I know that the docs rave on about how fast memcache is but what about > locmem? That sounds pretty fast to me since it doesn't need another > TCP service and just uses the RAM. > My particular site (for mobile phones without any

Re: Compare Lists for Unique Items

2008-11-25 Thread Jeff Anderson
new_projects.append(item) Of course, this won't work if you are getting a list as input, and not the individual items. Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Dynamic image creation

2008-11-25 Thread Jeff Anderson
ut as long as you can get the binary content of the image into Python, you're fine. Simply set the mime type and content of the response, and you're good to go. There are examples in the Django documentation on how to do this with a PDF, but the response object instance creation will be

Re: Develop in windows, serve in linux

2008-11-25 Thread Jeff Anderson
ols mentioned use an ssh connection to provide their various services. There's plenty of info "out there" about using the terminal. Take care! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: shared application?

2008-11-24 Thread Jeff Anderson
d the admin doc for info about a using a custom manager. I didn't see it, but that doesn't mean it isn't there. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: shared application?

2008-11-24 Thread Jeff Anderson
but it's all documented. You can also have multiple admin sites installed on different URL paths. Make one admin site for one app, and another admin site for the other. I've never done that either though, but it too is documented. :) Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Problem upgrading to Django 1.0.2

2008-11-23 Thread Jeff Anderson
byte compiling stage, at least for the gis stuff. As long as you don't plan on using gis, ignoring those errors won't hurt you. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Using a HTML to fire off a data processing script on the server (REST or SOAP)

2008-11-22 Thread Jeff Anderson
shi shaozhong wrote: > Dear Jeff Anderson, > > Thank you for your email. > > It sounds very interesting to me. I must confess that I am not a > programmer, and have no experience with Django. But I have a project > in hand to do such a work. > > Have you ever tried

Re: Using a HTML to fire off a data processing script on the server (REST or SOAP)

2008-11-21 Thread Jeff Anderson
t familiar with AJAX, I suggest reading a tutorial about how AJAX works, and then consider using an AJAX library. Hopefully this gives you a good starting point. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: php templates support

2008-11-15 Thread Jeff Anderson
ning PHP to get an html template into Django, though I think it's kind of cool that someone has done it. :p Take care! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Noon Help

2008-10-27 Thread Jeff Anderson
ns should. It's there to make your life much easier, and it does that very well. You'll still need to build views for your app, but if you need to go in and change something manually, the admin interface is way better than dropping to SQL. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Noon Help

2008-10-27 Thread Jeff Anderson
come up, this is the place to ask. It sounds like you're already headed in the right direction. Use Django's auth system, the admin site, and build your own app for reptile tracking. I'd use it, except I'm not a reptile owner– we only have a bird. Happy Coding! Jeff Anderson signature.asc D

Re: Receiving emails via app

2008-10-27 Thread Jeff Anderson
James Bennett wrote: > On Sat, Oct 25, 2008 at 2:09 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > >> We have an alias set up in postfix that sends the e-mail to our script >> via a pipe. >> >> The python script imports our Django models, and parses the e-m

Re: Receiving emails via app

2008-10-26 Thread Jeff Anderson
constantly check and download hundreds of messages all the time, but my guess is that it might be less load than loading several hundred instances of a python interpretor. It'd be interesting to test. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Receiving emails via app

2008-10-25 Thread Jeff Anderson
-mail to our script via a pipe. The python script imports our Django models, and parses the e-mail message with the email module, and does what it needs to. This should give you a decent starting point. Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Import error exception "No module named urls" when running from eclipse

2008-10-21 Thread Jeff Anderson
clude the code for the view that is being called, and possibly your urls.py Do you have a urls.py in your project? Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Get External IP Address

2008-10-17 Thread Jeff Anderson
log/how-to-use-python-to-get-your-external-ip > There might be a Python networking library out there, or you could parse the output of "ifconfig" on linux, or "ipconfig" on windows. You could look at the SERVER_NAME environmental variable, which is usually the server's fqd

Re: newforms question

2008-10-17 Thread Jeff Anderson
is happened before the 1.0 release. You just need to change your code to reflect this, and it should likely work. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Django development environment (newbie)

2008-10-16 Thread Jeff Anderson
view when running the Django development environment, and turning that off in a production environment. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: How to translate into Django

2008-10-16 Thread Jeff Anderson
Pythoni wrote: > In PHP can be used > include "http://url_address;; > ?> > > > How must I translate that to be able to use it in Django? > Use a Python library to fetch the content, and set a context variable passed to a template to hold the included content. J

Re: ldapauth and TLS

2008-10-16 Thread Jeff Anderson
apauth.py in > authenticate, line 113 > > The full error is at: <http://dpaste.com/84838/> > > How can we set LDAP_OPTIONS to turn on TLS? > Hello, LDAP_OPTIONS should be defined in your settings.py. Paste what you have in your settings.py for the ldap configuration, and I can help diagnose. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: manage.py tab completion

2008-10-14 Thread Jeff Anderson
rrently supported, how hard would it be to include? > Would it use the readline library? > This is already implemented with a bash completion script. I'm not 100% sure where in svn it lives, but its there, and it works. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: HTTPS Service for Django

2008-10-14 Thread Jeff Anderson
Harish wrote: > Hi Friends, > > I configured a django site using apache, which is running on Fedora 9. > Now I want to enable the > HTTPS (secured ) service on that site > > Any ideas on how to achieve this? > Configure apache to do SSL-- no special setup needed for Django. signature.asc

Re: Which IDE do you choose with django?

2008-10-12 Thread Jeff Anderson
zjffdu wrote: > I am a newbie of django, and want to know which IDE is suit for > django? > I'd say that it'd be good to continue using whatever IDE you use for your other Python development. Django is, after all, simply Python code that you call from your code. Jeff Anderson sign

Picky Generic Views

2008-10-10 Thread Jeff Anderson
python module (smug.genericurls for example)? We'd really rather use the generic views, but they seem a bit picky for some of the crazy stuff we're doing. If there's a way to turn that behavior off, great. If not, we can split it out. Thanks! Jeff Anderson signature.asc Description: OpenPGP

Re: django cms outside of django

2008-10-06 Thread Jeff Anderson
y of examples and the like out there. Its pretty straightforward to do-- you just need to set your DJANGO_SETTINGS_MODULE to point to your settings, and write models/use inspectdb. The same type of thing is achieved when someone wants a cronjob to do something with their Django models. There ar

Re: django cms outside of django

2008-10-05 Thread Jeff Anderson
It was more like a traditionaly CGI script. You just need to import the appropriate Django libs in your Python script, and you are good to go. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: How to invoke a request to an URL inside a web app without making a real request?

2008-09-30 Thread Jeff Anderson
You'll get an response object back, and you can take the content of the response object, and do whatever you want with it. I ran into something similar and worked out how to implement it. I haven't actually done it yet, so I can't share any gotchas that might come up. Cheers! Jeff Anderson signatur

Re: HTTPS Question...

2008-09-30 Thread Jeff Anderson
There is also a middleware that exists so Django can handle the redirects. There are a few different incarnations of it here: http://www.djangosnippets.org/tags/ssl/ Hopefully this is what you need! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Integrating into PHP-based site...

2008-09-29 Thread Jeff Anderson
No, you just need to make sure that the html code spit out by Django points to the proper location. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: how to get a magnifier in an image

2008-09-29 Thread Jeff Anderson
Kenneth Gonsalves wrote: > hi, > when I open a jpg file directly in firefox, I get a magnifying glass cursor, > which on clicking gives me a bigger more detailed image. The same file when > served through the get_photo_url in a django template does not give this - > how can I achieve this? >

Re: Integrating into PHP-based site...

2008-09-28 Thread Jeff Anderson
t. Look in the Django documentation for "legacy db" stuff to get Django working with your existing tables. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: How to stop internal django server

2008-09-28 Thread Jeff Anderson
etc/init.d/httpd stop is just a wrapper script that uses the kill command. You need to do the same thing to kill any process. ctrl+c sends signal 2 to the running process. kill is exactly what you need to use. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: faking a cron job

2008-09-28 Thread Jeff Anderson
owing that it was doing something. If a cronjob is really what fits the bill, consider switching your hosting provider or plan to something that includes cronjobs-- its worth it to not be hackish. :) Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: User Login with Django 1.0

2008-09-25 Thread Jeff Anderson
jeffhg58 wrote: > I just recently upgraded to Django 1.0, but when I log in with users > that I have created I get up a popup window > stating syntax error and after I login the clock and calendar objects > are lost. > You'll need to be much more specific. Where are you logging in. What do you

Re: actual django stack

2008-09-25 Thread Jeff Anderson
Frédéric Sidler wrote: > What it the best Django stack today. > > In django doc, it says that apache with mod_python is the best > solution in production. But in the same time I see that everyblock use > nginx (probably in mode fastcgi). > > Did you some of you test different solution and can

Re: where is my pythonpath

2008-09-20 Thread Jeff Anderson
mation is in nearly every python book available, and freely available on the internet. Try googling for "python path" and I'm sure this information would have come up in your search. This isn't even Django specific-- this is a python question. Cheers! Jeff Anderson signature.asc Description:

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Jeff Anderson
Matt Conrad wrote: > Thanks for the reply. I don't quite understand yet. Let's see how close I am. > > I have a Python application directory (on my machine, > C:\apps\Python25\). Inside that directory I have > \Lib\site-packages\django, which is currently v0.96. > > Right now, the PYTHONPATH

Re: Help: Running 1.0 and 0.96 side by side?

2008-09-12 Thread Jeff Anderson
Matt wrote: > Does anyone have ideas on running 0.96 and 1.0 side by side safely? > All I've done in the past is set my PYTHONPATH based on which checkout/release of Django I want used in a particular instance. It works quite well, even in production. Jeff Anderson signature.asc Descr

Re: First App: devel server - can't establish a connection to 127.0.0.1

2008-08-23 Thread Jeff Anderson
. At least for initial developing of Django projects, I'd recommend you stick with the dev server-- it is there to help you be more productive and keep things from getting in your way. Hopefully this helps! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Composite Forms? Are widgets the right thing to use?

2008-08-22 Thread Jeff Anderson
need, they discard it. Simple as pie. Hopefully this is helpful! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: mas sobre unicodedecode erros RESUELTO!

2008-08-21 Thread Jeff Anderson
casos que requieren otron opciones, pero nunca he visto un projecto que lo usa. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: mas sobre unicodedecode erros

2008-08-20 Thread Jeff Anderson
más de Mysql? No sé si soporte unicode sqlite. ¿Sierve eso sin los opciones DATABASE_OPTIONS, o teine la misma problema? Disculpa mí español. No lo uso en la computadora mucho. ¡Graciás! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: status of unicode support in 0.96?

2008-07-21 Thread Jeff Anderson
bugs than 0.96. It is also very near to 1.0 status. It would be silly to start with 0.96 and then have to rework all your code for 1.0 in the near future. Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Modulo of 4 not working right

2008-07-16 Thread Jeff Anderson
t up to do the logic all at once. Because modulo returns an integer, you can just set the number of blank fields to the number that modulo returns. Hopefully that helps! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: .pyc files not being created

2008-07-15 Thread Jeff Anderson
would see a huge slowdown if you were using python to run cgi, and python had to load itself into memory, compile the code, and run it for each and every request. Fortunately with mod_python, this isn't the case. Hopefully this makes a little more sense now. Cheers! Jeff Anderson

Re: Inquiry

2008-07-14 Thread Jeff Anderson
are asking about urls in Django, I suggest you read through the tutorial in the official Django documentation. Good luck! Jeff Anderson PS - instead of replying to an existing thread and changing the subject, it is better to start your own thread. Your message is in the middle of another thread

Re: Updating Database Schema

2008-07-12 Thread Jeff Anderson
with lots of data. You have a few options: * issue the alter table command yourself * drop the table altogether and run syncdb again * check out the django-evolution project on google code. I haven't used it, but it is designed to handle just this. Good Luck! Jeff Anderson signature.asc D

Re: XML and django

2008-07-10 Thread Jeff Anderson
and run with it. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Server config

2008-07-09 Thread Jeff Anderson
dumping it for arch linux. rhel5 seems to introduce more bugs than it addresses. We've had smooth sailing with arch linux so far. Anything that you are comfortable with that runs python and apache should probably work fine for running your django apps. Jeff Anderson signature.asc Description

Re: newsletter in django

2008-07-03 Thread Jeff Anderson
request that it is easy to mantain and costumize (costum signup in like an ajax window as an example) Writing django views is very nice. You are free to use whatever JavaScript toolkit that suits your needs-- django doesn't force you to choose one. Hopefully this is helpful! Jeff Anderson

Re: Include django views in other web sites

2008-07-03 Thread Jeff Anderson
Alessandro wrote: I need to include some django output in other web pages. The problem is that Sometimes I cannot use server side includes on the other side, and I don't know how to do. I thought maybe some javascript or ajax to include with a

Re: Command Line Admin

2008-06-30 Thread Jeff Anderson
Eduardo O. Padoan wrote: python manage.py shell Yes, this works, but I'm thinking more of a curses-based app that can use the admin app's definitions and validations. I'm really looking at a niche where the admin website is 'too much' and the 'manage.py shell' is not enough.

Command Line Admin

2008-06-30 Thread Jeff Anderson
, constructive criticism, etc. If its already been done, I'd be excited to hear about that as well. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: how to? : non-required admin fields

2008-06-29 Thread Jeff Anderson
eddie wrote: Hi. I'm looking to find out how you make form fields in the admin section non-required. I've done a few hours of searching, but haven't found the answer yet. If anyone can let me know where I can find it, it would be much appreciated. Put blank=True and null=True in your

Re: Problems setting up LDAP backend

2008-06-27 Thread Jeff Anderson
$ python manage.py shell >>> from django.conf import settings >>> settings.AUTHENTICATION_BACKENDS ('reviewboard.accounts.backends.LDAPBackend',) (to make sure it is in fact set correctly) Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Permissiond

2008-06-27 Thread Jeff Anderson
directory in which you do have write permission, or change the user you are using to one that has write permission to the directory that you are in. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Problems setting up LDAP backend

2008-06-27 Thread Jeff Anderson
ome things that might help to diagnose: * tail the log of the ldap server to see if a request is actually hitting it. * try authenticating a user from the python shell If you are still stuck, provide some more details, and I'll be happy to help from there. Jeff Anderson signature.asc D

Re: using only database part of Django

2008-06-26 Thread Jeff Anderson
. hopefully this helps! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Lighttpd Vs Apache

2008-06-15 Thread Jeff Anderson
is usually useful for serving lots of files, or minimizing overhead when optimizing for a set of given hardware. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Date based URLconf condition not working

2008-06-14 Thread Jeff Anderson
/ (not numbers) Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Modeling complex ER-diagrams with Django. How to get started?

2008-06-13 Thread Jeff Anderson
, it is fairly straightforward. Good luck! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Does django-driven Blog popular?

2008-06-12 Thread Jeff Anderson
aking things, but it is largely unchanged. If you are interested in learning more about django, you could try building your own blog system for practice. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Template engine

2008-06-12 Thread Jeff Anderson
with the RTF format, but to eliminate the blank line at the top of an html file, you would do this: {% load ... %} instead of {% load ... %} Hopefully this helps! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: can't find media

2008-06-12 Thread Jeff Anderson
filer/media/MochiKit.js" does not exist type "ls /projectprofiler/media/MochiKit.js" I'm suspecting that "projectprofiler" isn't a directory off / You need to supply the full path. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: why my django site doesn't create .pyc file?

2008-06-09 Thread Jeff Anderson
Scott Moonen wrote: >> I think this way, apache could be a little more faster. Am I right? >> >> > > I don't think it will be faster. Django normally runs as a long-standing > process (either inside Apache or as a standalone process, depending on the > deployment model you've chosen). So,

  1   2   >