Trying to install django-mingus (see bottom, not easy at all!)
When installing * 6 pip install -r stable-requirements.txt
ironed out 1 error with BeautifulSoup==3.0.8.1 - see bottom (http://
github.com/montylounge/django-mingus/issues/issue/36)
now I get markdown error, tried changing markdown2.
be done one
> time. You will want to add the command tosource
> /usr/local/bin/virtualenvwrapper.sh to your shell startup file, changing the
> path to virtualenvwrapper.sh depending on where it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28
nging the
> path to virtualenvwrapper.sh depending on where it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28 AM, justin jools wrote:
>
> > still trying to install django-mingus
>
> > I loggged into my server with ssh and ins
; time. You will want to add the command tosource
> /usr/local/bin/virtualenvwrapper.sh to your shell startup file, changing the
> path to virtualenvwrapper.sh depending on where it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28 AM, justin joo
g on where it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28 AM, justin jools wrote:
>
> > still trying to install django-mingus
>
> > I loggged into my server with ssh and installed virtualenv and
> > virtualenvwrapper
> >
le, changing the
> path to virtualenvwrapper.sh depending on where it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28 AM, justin jools wrote:
>
> > still trying to install django-mingus
>
> > I loggged into my server with ssh an
I found it in:
source /home/cc11/public_html/virtfs/bin/virtualenvwrapper.sh
Thanks for your help, I shall now try django-mingus again
On 17 July, 15:27, justin jools wrote:
> says virtualenvwrapper is in /home/cc11/public_html/virtfs/lib/
> python2.4/site-packages (bottom) so I
source
> /usr/local/bin/virtualenvwrapper.sh to your shell startup file, changing the
> path to virtualenvwrapper.sh depending on where it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28 AM, justin jools wrote:
>
> > still trying to
ere it was installed by pip."
>
> Did you do this part?
>
> On Jul 17, 2010, at 9:28 AM, justin jools wrote:
>
> > still trying to install django-mingus
>
> > I loggged into my server with ssh and installed virtualenv and
> > virtualenvwrapper
> > easy_i
still trying to install django-mingus
I loggged into my server with ssh and installed virtualenv and
virtualenvwrapper
easy_install virtualenv
pip virtualenvwrapper
also installed git
ok...
trying to follow the install instructions(bottom). I guess virtualenv/
virtualenvwrapper need setting up?
still trying to install django-mingus
I loggged into my server with ssh and installed virtualenv and
virtualenvwrapper
easy_install virtualenv
pip virtualenvwrapper
ok...
trying to follow the install instructions(bottom). I guess virtualenv/
virtualenvwrapper need setting up?
1. mkvirtualenv my
aha...
thanks for that
My development server is linux but I always test locally on windows
before uploading...
Will try this out, thanks...
Maybe I should setup a linux local test environment
On 16 July, 23:40, Ivan wrote:
> Hi Justin,
>
> I guess, you are using Windows OS,
>
ingus.git
cd django-mingus/mingus
pip install -r stable-requirements.txt
cp local_settings.py.template local_settings.py
./manage.py syncdb
./manage.py loaddata test_data.json
./manage.py runserver
On 16 July, 22:29, Ivan wrote:
> Hi Justin,
>
> What is the error message?
>
> Cheers,
&
RE: http://djangoadvent.com/1.2/everything-i-hate-about-mingus/
I tried following this to install Django-Mingus, it says it is easy
but not for a newbie who knows nothing about virtualenv! tsk!
I don't have pip so I ran easy_install
1. easy_install virtualenv... no problem
2. easy_instal virtualen
;href') == window.location.pathname) {
> $(this).addClass('active');
> }
> });
>
> });
>
> On Jul 15, 12:15 pm, David De La Harpe Golden
>
>
>
> wrote:
> > On 15/07/10 16:31, justin jools wrote:
>
> > > I thought I h
den
wrote:
> On 15/07/10 16:31, justin jools wrote:
>
> > I thought I had solved but I haven't.
> > [...]
> > using seperate block nav for evey page seems like a lot of
> > duplication...
>
> Well, you could also pass through a context variable to the templ
rote:
> On 15/07/10 15:19, justin jools wrote:
>
> >
> > $(document).ready(function() {
> > $('#nav li a').click(function() {
> > $('.active').removeClass('active
Solved it!!!
really stupid! I knew it would be something like this. I removed
class="active" on home, now it works. Seems django was resetting to
default base.html settings. It doesn't do this in straight HTML. So
now I'll have to set the home active onload dynamically.
hope this tip helps someon
{% block title %}{% endblock %}
{% block content %}{% endblock %}
c 2010 Powered by
doesn't change it:
Home
I see from our example I should put the function in the child
template, I'll try this but seems strange it doesnt work in base
template.
On Jul 15, 2:40 pm, David De La Harpe Golden
wrote:
> On 15/07/10 13:40, justin jools wrote:
>
> > 2. base.html with j
y(function() {
$('#nav li a').click(function() {
alert('here!');
On Jul 15, 2:40 pm, David De La Harpe Golden
wrote:
> On 15/07/10 13:40, justin jools wrote:
>
> > 2. base.html with jquery nav, exactly the
Oops!
I had 'comments' in my settings.py installed apps for some reason...
removed and works fine
--
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
Oops!
I had 'comments' in my settings.py installed apps for some reason...
removed and works fine
--
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
I've set up basic blog with, all running fine but when I runserver I
get Error: No module named comments. I've checked the Python path
(below) and the app/function is there. Can someone explain why it is
isn't finding this when it finds all other installed apps e.g. markup,
tagging.
C:\Python26\L
As another idea, can you just update your SITE_ID setting (http://
docs.djangoproject.com/en/1.2/ref/settings/#site-id)? It defaults to 1
(for the example.com instance), but if you've got a new Site object
for your actual domain, you should just be able to use its id instead.
-Justin
On Jul
Wow... django docs can be so confusing...
I could not believe it worked just by using upper case MEDIA_URL
Thanks so much :) :)
I spent a day trying figure this out...
On 8 July, 13:14, Daniel Roseman wrote:
> On Jul 8, 12:57 pm, justin jools wrote:
>
>
>
>
>
> &
from yourapp.settings import MEDIA_URL
register = Library()
@register.simple_tag
def media_url():
return MEDIA_URL
And in my template file:
{% load media_url %}
I could not get either of these methods to work, can you give best
guideline for this,
Thanks,
Justin Jools
On 8 July, 12:35
A_URL
and in my base.html template:
{{ media_url }}css/base.css
but it's not picking it up? do i need to pass it with generic views?
On 8 July, 12:35, Daniel Roseman wrote:
> On Jul 8, 11:40 am, justin jools wrote:
>
> > Thanks for that. I did read something about having to add ser
{media url} with generic views.
If you have a solution I would be happy to hear this.
On 29 June, 13:55, Daniel Roseman wrote:
> On Jun 29, 1:41 pm, justin jools wrote:
>
> > Hi Tom if you read my original post you will realise that the error is
> > being caused by setting of con
Hi Tom if you read my original post you will realise that the error is
being caused by setting of context processors to media_url (see
original post).
When context processors are active the {media_url} tag works
perfectly, but breaks the admin.
If I comment out :
settings.py
#TEMPLATE_CONTEXT_PROC
Yes, great ;) that worked. I put it in my root Apps folder...
seems very strange that it doesnt work in site-packages.
Anyway this will do fine :)
On Jun 29, 12:19 pm, Venkatraman S wrote:
> On Tue, Jun 29, 2010 at 4:35 PM, justin jools wrote:
> > I've installed Django Taggin
n S wrote:
> On Tue, Jun 29, 2010 at 4:35 PM, justin jools wrote:
> > I've installed Django Tagging SVN checkout, 0.3.1 zip, 0.3 exe and
> > 0.2.1 versions
> > and I keep getting 'no module named tagging' when I try to run python
> > manage.py syncdb.
>
I corrected my settings.py links:
TEMPLATE_DIRS = 'C:/django/portfolio_root/templates/'
MEDIA_ROOT = 'C:/django/portfolio_root/site-media/'
MEDIA_URL = '/site-media/'
ADMIN_MEDIA_PREFIX = '/media/'
but I still get this error:
TemplateSyntaxError at /admin/
Caught an exception while rendering: us
I've installed Django Tagging SVN checkout, 0.3.1 zip, 0.3 exe and
0.2.1 versions
and I keep getting 'no module named tagging' when I try to run python
manage.py syncdb.
I've checked my Python path and added extra links:
C:\Python26\Lib\site-packages\tagging;
C:\Python26\Lib\site-packages;
C:\Pyth
Yes I did accidentally set my
ADMIN_MEDIA_PREFIX = '/site-media/' instead of media
I'll try this
On Jun 29, 8:57 am, bruno desthuilliers
wrote:
> On 29 juin, 00:44, justin jools wrote:
>
>
>
>
>
> > I am trying to use media_url with generic view
I am trying to use media_url with generic views:
When I set context processors to media_url, with generic views it
breaks Admin:
Caught an exception while rendering: user
settings.py
TEMPLATE_CONTEXT_PROCESSORS =
('portfolio.context_processors.media_url',)
context_processors.py
def media_url(req
Have you set your MEDIA_ROOT, MEDIA_URL and ADMIN_MEDIA_PREFIX
settings in settings.py?
On Jun 19, 12:06 pm, Jagdeep Singh Malhi
wrote:
> now my httpd.conf file is :-
>
> Alias /media/ /usr/local/lib/python2.6/dist-packages/django/contrib/
> admin/media/
>
> media/>
> Order deny,allow
> Allow
The previous author is right Django is a framework to build systems
and not an already built system like a Content Management System, like
Joomla. If you do want a comparison you have to compare a Django built
CMS like : http://www.django-cms.org/.
I don't know the reasons for your comparison but
The previous author is right Django is a framework to build systems
and not an already built system like a Content Management System, like
Joomla. If you do want a comparison you have to compare a Django built
CMS like : http://www.django-cms.org/.
I don't know the reasons for your comparison but
The previous author is right Django is a framework to build systems
and not an already built system like a Content Management System, like
Joomla. If you do want a comparison you have to compare a Django built
CMS like : http://www.django-cms.org/.
I don't know the reasons for your comparison but
It says you're missing a 500.html template.
Without it, you can't see any error pages. See
http://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view
Once you've made that template, you should be able to see what other
errors are happening.
-Justin
On
If you're passing a "year" and "month" variable, I would use
Post.objects.filter(publish_date__year=year,
publish_date__month=month).
-Justin
On May 30, 12:34 am, greg wrote:
> Hello,
>
> I'm (almost) done coding up my blog in Django.
>
> Right
ased database writes?
>
> Would really appreciate any pointers you can give me. Thank you.
quick google found this:
http://github.com/fwenzel/django-gearman
cheers
justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
easy
to set up subdomains and media URLs (so much easier to me than mucking
around in httpd.conf and the like), and I like the backup features in
Rackspace's control panel. Overall, I'd say you can't go wrong with
either, honestly.
HTH,
Justin
On Apr 3, 5:35 pm, shofty wrote:
> +1
I solved it after playing around for 3 hours it came to me: compare
the make.id to model.dbforeignkey.id
hope this helps someone :)
{% for make in make_list %}
make {{ make }}
{% for model in model_list %}
{% ifequal make.id model.dbforeignkey.id %}
model {{ m
models.py - for Car Manufacturer and Models
class dbModel1(models.Model):
dbfield1 = models.CharField("Product Manufacturer", max_length=200,
unique=True)
class dbModel2(models.Model):
dbforeignkey = models.ForeignKey(dbModel1)
dbfield1 = models.CharField("Model", max_leng
superuser, or if run using python
manage.py shell)
I'm sure this approach could be expanded to use namespaces/groups
instead of user on the model's foreign key. To my mind at least, it's
a little easier to follow what's going on than overriding various
methods in admin.py
~Justin
-
ject.com/en/dev/releases/1.2-alpha-1/#smart-if-tag
~Justin
--
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 email to
django-users+uns
gt; unknown command or invalid arguments: "schema;". Enter ".help" for
> help
> sqlite> .schema project.db
> sqlite> .schema project
> sqlite> .schema project;
> sqlite>
Try this:
$ sqlite3 /path/to/db
~Justin
--
Y
lly
> caching views per analytics cookie change... That bugged us for a
> while in our project.
>
> Att,
> Victor Lima
>
> Em 05/01/2010, às 21:32, Justin L escreveu:
>
> > For several months, we have been caching views using the URLconf
> > method (urls.py).
For several months, we have been caching views using the URLconf
method (urls.py). An entry from urls.py is below as an example:
url(r'^(?P.*)/content/(?P[-\w]+)/$$', cache_page
(hierarchies.views.category_content_detail, CACHE_TIMEOUT),
name='category_content_detail'),
Recently, we had a need to
photo) # NOT .path, so this
is a relative path, not an absolute one
to make this work properly.
Hope that helps.
-Justin
On Jan 4, 5:15 am, nameless wrote:
> I have writed this code but it doesn't work. What is the error ?
>
> from django.db import models
> from django.forms import Mod
27;s and runs it instead, and put that on the path. This
> last works on windows too, using bat files (or whatever the cmd.exe
> equivalent is).
>
Thanks Bill, I'd considered that route, but ultimately, I had a puzzle
that needed solving. =)
~Justin
--
You received this message b
I'm at a loss as to understand why, but I've worked out what I need to
add to pythonpath.
PYTHONPATH=/home/user
i.e. The pythonpath needs to include NOT the project's root, but the
directory one level ABOVE that for custom commands to work properly...
Thanks for the help guys.
~
On Tue, Dec 22, 2009 at 3:51 PM, Alex_Gaynor wrote:
>
> Do you have __init__.py files in each of those directories?
Of course - Else it woud not work from the project's root directory either.
~Justin
--
You received this message because you are subscribed to the Google Groups
&q
On Tue, Dec 22, 2009 at 12:16 PM, Doug Blank wrote:
>
> You probably just need to set your PYTHONPATH:
>
> cd /home/user
> PYTHONPATH=proj python proj/manage.py custom
>
That was my initial thought too, however setting the PYTHONPATH does
not affect the behaviour in this i
his)
/home/
user/ <- ""/home/user/proj/manage.py custom" command doesn't exist.
proj/ <- "/home/user/proj/manage.py custom" works
manage.py
app/
management/
commands/
custom.py
Is there something I'm missin
p://127.0.0.1:8000/hello/ or http://127.0.0.1:8000/ ?
(hint: http://127.0.0.1:8000/hello/ should work.)
~Justin
--
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 unsubscri
On Wed, Dec 16, 2009 at 5:21 AM, Victor Hooi wrote:
> class ExaminationRecord(models.Model):
> assessment = models.OneToOneField(AssessmentTask)
I don't particularly understand the point of this class?
~Justin
--
You received this message because you are subscribed to
, sounds
like you don't have the mysql client libraries installed.
In ubuntu that would be sudo apt-get install libmysqlclient15-dev
Not sure on the name of the corresponding red hat package.
~Justin
--
You received this message because you are subscribed to the Google Groups
"Djan
Hi,
I've created a custom user model in my application by subclassing
django.contrib.auth.models.User. This user model is working, but there
are a couple of problems I have with it.
1) The change password link in the admin site doesn't work?
2) The default password box on the add/edit page for a
Hi guys,
Trying to teach myself a bit about creating custom fields (for both
forms and models) for Django. Starting off with a somewhat contrived
storing a street address in one field.
I seem to have gotten the model field working, as I can run python
manage.py shell and successfully fill out th
Not SASS, but in the same vein is http://sandbox.pocoo.org/clevercss/ which
has the benefit of being in python.
-justin
--
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...@googlegrou
d URL namespaces.
HTH,
Justin
On Nov 7, 2:03 am, Good Z wrote:
> Dear All,
>
> We want upgrade our software from Django0.95 to Django1.1. The latest
> available release is Django 1.1.1. Have few queries:
> - What is difference between Django 1.1 and Django1.1.1
> - I could no
Two ideas:
1. Instead of having the slug prepopulated, override save() [1] and
run slugify yourself.
2. Instead of running slugify on the name, why not just access its
slugfield directly?
HTH,
Justin
[1]
http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods
headache and ditch godaddy. They're fantastic for domain
purchasing, but leave you wanting when it comes to hosting. Especially
for something like Django. I might suggest http://webfaction.com/ as a
reasonable alternative. Trust me in that any amount you may have prepaid
for godaddy hos
Can anyone give a method/example for doing drill down category
queries: list, list, list detail
I'm writing car database. With make, type, model as seperate tables.
model containing all the details.
essentially
1st choice could be: make: Audi, BMW, Ford
2nd BMW: 200 series, 300 series...
3rd Det
Roseman wrote:
> On Aug 22, 6:08 pm, justin jools wrote:
>
>
>
> > how can I show a list then pass the id to next list lookup then
> > detail?
>
> > basically I'm writing a car product database with make, type and model
> > tables:
>
> > so fir
how can I show a list then pass the id to next list lookup then
detail?
basically I'm writing a car product database with make, type and model
tables:
so first list is Audi, BMW, Ford... the next list is e.g. Audi models:
T100, Quattro, then last selection is detail.
I used this view model and
I'm trying to pass id/key from one list then filter the next.
If I try:
def show_make(request, key):
return object_list(request, Product_Model.all(), key)
I get:
invalid literal for float():
agphZXAtc2FtcGxlchgLEhJteWFwcF9wcm9kdWN0X21ha2UYAQw
N.B. the key is from google app but works the s
generic view list_detail: how do I pass id to another list? (I'm using
google app engine patch)
Ive defined my first view as follows:
def list_make(request):
return object_list(request, Product_Make.all())
which works fine, now I want to pass the id selection to another list
on a different
It seems google app engine patch doesnt support _set.all. I have
tried my original django only version and it works but with google app
engine patch does not.
my template code:
{% for model in object.product_model_set.all %}
{{ model.full_title }}
{% endfor %}
I dont how / what to replac
Figured it out. Apparently when I did my intial test I did not have a
profile create for the user which was causing a different error.
the correct string was 'engine.UserProfile'
Justin
On Aug 19, 10:11 am, Justin wrote:
> I am sure this is a newbie mistake but I can't se
length=1)
user = models.ForeignKey(User, unique=True)
def __unicode__(self):
return "%s - %s" % (self.panel_id, self.email)
class Meta:
app_label = 'engine'
Any help would be appreciated,
I am sure this is something sim
Ive been the install instructions in :
http://wiki.thinkhole.org/howto:django_on_windows%E2%80%8F
(with mod_wsgi)
install python 26, Apache 2.2, modwsgi ap2.2 py26
and apache loads modwsgi fine.
when I check localhost: apache says - It works!
when I check 127.0.0.1:8000: Django says - It worke
I hope this helps anyone starting, cos i learnt this the hard way!
---
get your python path working: (scroll down to environment variables)
http://www.voidspace.org.uk/python/articles/command_line.shtml#path
---
d
rk pretty easily by just dropping the django
> directory directly into my project directory.
>
> On Aug 8, 8:24 am, justin jools wrote:
> > ok well thanks for your reply:
> >
> > first I have free access and they have told me python is installed but
> it's
>
would be great. I guess the first thing
i need to do is bug the administrator to get a Python test script running.
On Fri, Aug 7, 2009 at 10:45 PM, Daniel Roseman wrote:
>
> On Aug 7, 9:56 pm, justin jools wrote:
> > thanks for the reply but I have access to a server for free so I wa
:25 PM, Milan Andric wrote:
>
>
> Justin, it's not. Have you seen the deployment docs?
>
>
> http://docs.djangoproject.com/en/dev/howto/deployment/#howto-deployment-index
>
> --
> Milan
>
> On Aug 7, 1:56 pm, justin jools wrote:
> > thanks for the reply
7, 12:06 pm, justin jools wrote:
> > This has been driving me nuts for a month.
> >
> > I wanted to use a free web server to do development testing and have
> > found : 000webhost.com and heliohost.com which apparently support
> > Python, but what about Django? Do I in
This has been driving me nuts for a month.
I wanted to use a free web server to do development testing and have
found : 000webhost.com and heliohost.com which apparently support
Python, but what about Django? Do I install that myself?
I have read the django book on deployment chapter but find it
The included login view (django.contrib.auth.views.login) takes an
optional "next" argument for this:
http://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.views.login
Hope that helps.
-Justin
On Jul 31, 9:15 am, When ideas fail wrote:
> I was wondering if there
is also a solid text.
-justin
On Tue, 21 Jul 2009, Stodge wrote:
>
> What is currently the best Django development book? There seem to be
> quite a few on Amazon.ca, but none are reviewed. I'm familiar with
> Python and the very basics of Django and I've been developing s/w fo
It would also be worth pointing out Jacob's django-googlecharts
template tags. I've used them before and they work solidly, as long
as google charts are what you need.
http://github.com/jacobian/django-googlecharts/tree/master
-justin
On Thu, 16 Jul 2009, Keith Pettit wrote:
>
I am trying to figure out the best way to have an inline formset with
a many to many relationship. Right now I am the relationship is
through a intermediate model as shown here in the docs
http://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships.
It works
I corrected the build_ext error and successfully built/installed by
adding the full path to pg_config in setup.cfg.
On Jun 23, 10:19 am, Chris Haynes wrote:
> Using what I believe is the latest version of psycopyg, I get:
>
> 509 ~/Desktop/psycopg2-2.0.9$ python setup.py build
> running build
>
This is likely exactly what you're looking for:
http://www.b-list.org/weblog/2006/jun/07/django-tips-write-better-template-tags/
-justin
On Mon, Jun 29, 2009 at 9:16 AM, Joshua Partogi wrote:
> Dear all,
> Currently I want to make a custom templatetags for loading objects to be
&g
oing a bunch of similar stuff that's just a tiny bit different,
for which you can just subclass the view class for the bits you need
to change.
Hope that helps.
-justin
On Jun 29, 2009, at 6:28 AM, Raja wrote:
>
> You could use decorators (following the Decorator pattern) to d
Actually, As he didn't provide a template_object_name parameter, the
generic view's default context variable is object_list.
-justin
On Fri, Jun 26, 2009 at 8:18 PM, maplye wrote:
>
> task_list not Task.object.all in the view.
>
> 2009/6/27 Technicalbard :
>>
On Jun 11, 6:35 pm, Joseph Brown wrote:
> Hi Justin - Thanks & sorry I missed your email until just now. I did try
> that, and it's interesting: it worked for any of the date based generic
> views that took a datepart parameter in the url, i.e. archive_year,
> archive_m
Have you tried this yet?
info_dict = {
'queryset': Entry.objects.order_by(-featured),
'date_field': 'pub_date'
}
urlpatterns = patterns('django.views.generic.date_based',
...
(r'^$', 'archive_index', info_dict),
)
I haven't checked whether or not it works, but it seems like it'd do
t
ated SQL and
parameters, respectively. Personally, I prefer it over the
connection.queries approach because you can look at the SQL without
having to execute it.
-Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
ist.
I am pretty new at this stuff so I am not sure if this works with
1.0.2, I am going to look into the Manager code to see if I can figure
it out but I am just wondering if I am doing something wrong here.
Thanks,
Justin
--~--~-~--~~~---~--~~
You received th
I believe you're looking for the {% cycle %} template tag, which you
can find more information about here:
http://docs.djangoproject.com/en/dev/ref/templates/builtins/#cycle
{% cycle '' '' %}
-justin
On Wed, Mar 25, 2009 at 6:15 AM, nicemira wrote:
>
> pleas
It looks cool even though it depends on many other components. I'm
fighting to set it up by following the documentation.
Thanks a lot!
Justin
On Mar 2, 11:03 am, Alex Gaynor wrote:
> On Sun, Mar 1, 2009 at 9:07 PM, Justin Li wrote:
>
> > Hey Guys,
>
> > I'm s
he
code is very complex. It's not easy to find out how and why at a short
time. Anyone here has experience to setup a site with djWarehouse? Any
tips will be appreciated.
Thanks in advance!
Justin
--~--~-~--~~~---~--~~
You received this message because you are su
bstracting these relationships is the best way
to go about the problem, its just the method of abstraction that I'm
unsure on.
-justin
On Sun, Feb 15, 2009 at 10:32 AM, Peter Herndon wrote:
>
> Hi Justin,
>
> I can't view your code at the moment, but it seems to me you want a
her words
(lon, lat). Thus, your GEOS geometry should have the coordinates in
(lon, lat) order. However, mapping APIs use (lat, lon) order
instead. This is why GPolygon switches the order, to be compatible
with the GMaps API -- and you probably had the order wrong to begin
with in your geom
.com/en/dev/ref/models/options/#ordering
While order is something that's handy to have in the admin, it's not
specific to it. It's a property of the model itself, since it ends up
in any QuerySet involving that model.
Hope that helps,
Justin
--~--~-~--~~-
ll likely be able
> to give you more detailed help.
>
Or try the geodjango mailing list: http://groups.google.com/group/geodjango
-Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&quo
101 - 200 of 389 matches
Mail list logo