Hi;
I'm making the transition from a Rails-based website to a Django-based
setup, and I've been looking around at various Django CMS offerings.
So far, Merengue seems like an excellent candidate.
However, I have a
question about the community: I am not a python programmer (I know CSS
and HTML very well, but that's the extent of my "programming"
knowledge), and I build my websites myself, so I am always running
into issues and challenges. Typically, I join the community for a
given application and ask newbie-type questions until I get things
sorted out. Is there such a community for Merengue, or is the
community mostly comprised of the developer group? I just worry a bit
that if I get into trouble I might become annoying to people in the
developer group by asking questions that are too simple.
Anyway, Merengue seems like a great application (I got it up and
running in about four minutes), and hopefully I can start to use it to
build my website.
Manuel Saelices msae...@yaco.es Yaco Sistemas http://www.yaco.es/ C/ Rioja 5, 41004 Sevilla Móvil +34 606 039 750 Teléfono +34 954 500 057 Fax +34 954 500 929 |
Thanks for the feedback.
The only issue I've experienced so far involves the plugins. I seem to
be having the same problem as described in ticket 2229 (http://
dev.merengueproject.org/ticket/2229). Any suggestions on how to fix
this?
Also (just a suggestion): the default intro page (at /) indicates that
the Sections area can be found by going to the main admin page ("Go to
the admin site and click in the sections link"), but I found, after
much head-scratching, that the sections area can only be accessed
through the "Django admin" link on the right side of the admin page.
So, maybe this text (and its links) should say something like this:
"Go to the main admin page, select the Django admin link at right, and
click through to the Sections area."
Again, Merengue seems very promising. Thanks for putting it together.
Manuel Saelices msae...@yaco.es Yaco Sistemas |
That you continue to experience the bug could be due to another
(unpatched) merengue installation in your Python path, that is used
instead of the one that has been linked to from your project folder by
"merengue-admin.py startproject".
I would search for "merengue", and check if more than one folder comes up.
A great way in python to have separate environments for different
projects is virtualenv. It lets you create different virtual python
environments for different projects, which means that you can work
with different versions of packages without them interfering.
http://virtualenv.readthedocs.org/en/latest/index.html#virtualenv
You can create a new environment using:
"virtualenv --no-site-packages --distribute your_virtual_env"
--no-site-packages is now the default behaviour, but I would just type
it anyway to make sure no packages from your normal, global python
install are used.
--distribute is a replacement for python_setuptools, and most people
recommend using it.
You can now activate the environment by typing "source
your_virtual_env/bin/activate".
To install merengue, all you have to do now is to type "pip install -E
/full/path/to/your_virtual_env merengue"
The -E switch is important, because it's telling pip that you want to
install into a virtual environment, and not globally.
Alternatively, you can set an environment variable that tells pip to
respect virtualenvs: export PIP_RESPECT_VIRTUALENV=true
I do this in my ~/.bashrc, so I don't have to remember it and can just
do pip install.
http://charlesleifer.com/blog/using-virtualenv-pip-and-django-site-gen-to-quickly-start-new-django-projects/
There is also virtualenvwrapper, which makes working with multiple
virtual environments easier.
http://www.doughellmann.com/projects/virtualenvwrapper/
I highly recommend starting to use virtualenv for python programming,
it makes a lot of things much easier.
Best Regards,
Jesaja Everling
Manuel Saelices msae...@yaco.es |
I've tried again to reproduce the error with unsuccessfully :(
But, I'm sure the bug exists because your feedback, and I have applied the patch both in trunk/ and 0.8.X branch.
Thank you!
2012/1/27 Ross LairdThanks very much for the detailed feedback.
Your assessment of my ongoing situation seems totally correct. In
fact, I did see some type of message about a duplicate path problem
yesterday, when I started Merengue on my Mac. I will have to make sure
to correct this. Actually I have been playing around with virtualenv,
and two of the four Merengue installs from the last few days were
created using virtualenv.
And yes, I did inspect the patched file, and the patch was applied
correctly. So maybe what I'll do is just remove the various Merengue
projects that I've created and start again with a fresh virtualenv
setup. Then, I'll re-apply the patch. That should do it. I'll be able
to get to this later today, hopefully, and will report back if I have
any other issues.
Thanks again for the help.
Ross
On Jan 27, 4:01 am, Jesaja Everling wrote:
Manuel Saelices msae...@yaco.es |