On 03/14/2012 09:13 PM, Matt Schinckel wrote:
For project deployment, I use a fabfile that does the following:
* installs public keys onto the server (if necessary)
* creates the directory structure required (if necessary)
* copies the project onto the server
* installs requirements from REQUIRE
On 05/21/2011 11:54 PM, Brice Leroy wrote:
- Fields can now be collapsed (wow... this took a while I know) and displays
their python transcription.
- Help got included per field option
Seems very helpful for planning any new app. And the help buttons are good for
jogging memory
to get to a r
ting a "home" page is fairly simple. In urls.py you need to recognise a
"non-link" which just means www.mydomain.com/ all by
> itself and make that call a view which renders the particular template which
you want displayed.
Thanks!
Very helpful,
John Griessen
--
You rece
I've gone through the Django 1.2 tutorial to the point of creating an admin
site,
then had to switch to other work for months. What are some good simple example
sites
or tutorials for creating a top page ( index.html ) and using templates with
css?
John
--
You received this message because y
I'm using a package django-page-cms that uses CSRF and can't
follow the docs for CSRF for django 1.2.
They say I should add these lines to MIDDLEWARE_CLASSES,
'django.middleware.csrf.CsrfViewMiddleware'
'django.middleware.csrf.CsrfResponseMiddleware'
but when I do, I get an error:
File
Darren wrote:
I have had that happen a long time ago. I think my problem was that apache didn't gave permission to the CSS. I know that's not much to go on. But, maybe it will help.
Or it can be lack of an alias in the apache2 config.
John
--
You received this message because you are subscribe
tazimk wrote:
hi,
Trying to figure out why make gives following errors .
What is wrong with installation ?
Saw similar with buildout when a package could not be found.
How are you installing?
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
Is there a way to use the manage.py shell option to run the server
code and have a shell also? bin/django shell gives me a ipython shell...
Also, I've gotten some help from the developer of django-page-cms
and he's not likely to respond until tomorrow.
What methods of debugging did he mean wh
John Griessen wrote:
What causes the wsgi version of a buildout to have a problem with
TIME_ZONE?
I found that my libapache2-mod-wsgi package was too old.
Perhaps a buildout for django needs to build specific versions of apache2 and
wsgi also?
John
--
You received this message because you
What causes the wsgi version of a buildout to have a problem with TIME_ZONE?
setting.py has
# system time zone.
TIME_ZONE = 'America/Chicago'
bin/django runserver works fine with postgresql database.
bin/django.wsgi still uses development include file with:
from industromatic_com.settings i
Bill Freeman wrote:
Not buildout specific, but, if I recall correctly, the pages egg
(among others) is not
built in such a way that the media files get included (in setup.py the
function that
goes and discovers the .py files to install only does .py files, other
files must be
added more painfully
I made a buildout with the config below that didn't work right and
found it needed to have some extra paths added.
Here is the extra path I needed:
'/home/john/buildout/eggs/django_page_cms-1.1.3-py2.6.egg',
'/home/john/buildout/eggs/django_page_cms-1.1.3-py2.6.egg/pages/templates/pages',
Some potential Django site users I know asked for word processing with revisions
for group writing they do.
Is there a web hostable word processor with savable version history that is
easy to integrate with Django?
A web based editor search turns up
wymeditor
TinyMCE
Anyone integrated these a
andreas schmid wrote:
John Griessen wrote:
Kevin Teague wrote:
I'm looking into why buildout would leave the pythonpath incomplete
and think it is just a buildout.cfg problem. The same site
structure worked
in a non-buildout form.
can you provide your buildout or a sample of your proje
Kevin Teague wrote:
I'm looking into why buildout would leave the pythonpath incomplete
and think it is just a buildout.cfg problem. The same site structure worked
in a non-buildout form.
Yes, this sounds like a simple library path problem. Did you provide a
setup.py for your cottagematic_com
...
Seems like mr.develop only helps keep track of changes to
published eggs. I see no way yet to make an egg of the
non-boilerplate part of django apps, so mr.developer is
only used by me so far to get buildout to use the svn HEAD
of django-mptt.
Thanks,
John Griessen
--
You received this message
andreas schmid wrote:
did you run ./bin/django syncdb?
Yes.
did you edit the cottagematic_com.urls to get the admin working?
I edited, but it does not work.
ViewDoesNotExist: Could not import
cottagematic_com.django.contrib.auth.views.
this one looks strange to me because cottagematic_com is
I've tested a buildout of django with mysql database and used
bin/django runserver to get the django internal server going with
no errors on starting.
When I try browsing to http://127.0.0.1:8000/ I get a the debug version
of a 404 page, which is OK for the copy of the tutorial polls app
that is
andreas schmid wrote:
John Griessen wrote:
If you run buildout it checks out what you made changes to -- wiping
the changes.
Am I supposed to be using any particular version control with
buildout? It seems
to mention many kinds.
right if you run buildout it checks if there are changes in some
If you run buildout it checks out what you made changes to -- wiping the
changes.
Am I supposed to be using any particular version control with buildout? It
seems
to mention many kinds.
So, my buildout.cfg looks like:
[buildout]
eggs-directory = /home/john/buildout/eggs
extensions = mr.deve
Gustavo Narea wrote:
Hello,
Even if there was a reliable way to reuse the same code base with
different settings on a per request basis, which I doubt, I believe
the safest and easiest way to extend a base configuration with
twod.wsgi:
http://packages.python.org/twod.wsgi/manual/paste-factory.ht
this and next deploy to
a server.
John Griessen
j...@toolbench:~/WEBprojects/cottagematic_com$ python bin/buildout
Getting distribution for 'mr.developer'.
Got mr.developer 1.12.
mr.developer: Checking out 'django-mptt' with subversion.
Develop: '/home/john/WEBprojects/cot
I kludged together a buildout config to use django-page-cms which depends on
django-mptt
and it still isn't referencing my locally downloaded svn trunk version of
django-mptt.
Installing django.
Page at http://pypi.python.org/simple/mock/ links to .py file(s) without
version info; an index sca
I tried using buildout to get some django eggs including django-page-cms
which has a dependency on mptt svn trunk. How do you take
a svn checkout and make an egg, then tell buildout to use that local egg?
Or any other way to deal with that in buildout?
John
--
You received this message because
bx2 wrote:
The best option is to use buildout (there is no need for creating
virtualenv - much more simple and much more flexible solution). Also
it will be easier to further deploy your projects.
I see this buildout.cfg example from
http://pypi.python.org/pypi/djangorecipe
and have questions b
John Griessen wrote:
http://127.0.0.1:8080/admin/auth/group/ shows zero groups. is that a
problem?
I tried adding a group with many permissions and rights and it just resulted in
an error message: "Table 'django_server.auth_group_permissions' doesn't exist"
Shoul
I have gone through the tutorials and get an error when using the admin UI
about users and authorizations.
Exception Value:
(1146, "Table 'django_server.auth_user_groups' doesn't exist")
I found this
"Note that the default settings.py file created by django-admin.py startproject includes
John Griessen wrote:
Next, I'm looking for why in my settings.py
TEMPLATE_DIRS = (
"/home/john/djangotemplates"
)
is not being used.
I found the trouble and fixed already --
That above wasn't a good descr. of the symptom:
/home/john/djangotemplates is not on the pytho
Daniel Roseman wrote:
On Mar 10, 3:44 pm, John Griessen wrote:
Is this line OK?
os.environ['DJANGO_SETTINGS_MODULE'] = 'industromatic.com.settings'
The DJANGO_SETTINGS_MODULE setting is a Python module, so it must be a
valid Python path. "industromatic.com"
Joakim Hove wrote:
What have I left out of this Virtualhost configuration?
Alias /media/ "/usr/local/django/django/contrib/admin/media/"
HTH - Joakim
Thanks Joakim,
I found the corresponding place on my debian system and got admin templates.
Next, I'm looking for why in my settings.
I am serving up sites named after their domains with .com in the name
but when I saw the os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
specified in tutorials it seemed like putting a .com might be interpreted wrong.
Can the WSGI file os.environ['DJANGO_SETTINGS_MODULE'] =
deal with a d
Joakim Hove wrote:
Hello,
I __think__ you must add the path industtromatic_com in your wsgi
settings file,
i.e. something like:
import sys
sys.path.append( "/home/john/WEBprojects/industromatic_com" )
Yes, adding the dir above project and project dir to the sys.path let
apache2 function to se
I've worked through http://docs.djangoproject.com/en/1.1/intro/tutorial01/ to
tutorial04
then read up on WSGI, got that to go with a hello world output.
Then I decided to copy the tutorial to a name of a site I want to test over the
internet -- one with
DNS pointing to its name, industromatic.c
Does anyone run Django and WordPress together?
I like the P2 theme of WordPress, so I'm wanting to use it with links to
documents
in a P2 blog, but I want it all searchable from Django apps.
Anyone do that where Django is the main admin interface to a site's pages and
WordPress is just for a s
The problem logging in to mysql was with how I created the new user.
Nevermind :-)
JG
--
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
35 matches
Mail list logo