looking for event registration/calendar modules

2008-09-11 Thread Marcus
that already handles events with reminders would be fine. Thanks for the help! Marcus --~--~-~--~~~---~--~~ 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@g

Re: ordering ForeignKeys

2008-01-06 Thread marcus
Just seen your answers. Thanks a lot. --~--~-~--~~~---~--~~ 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

getting the admin interface started

2007-12-30 Thread marcus
hi. im very new to django (just bought the book) and was trying to get the admin interface started, but it's not working as described in the book. here is what i did: . Reinstalled latest-stable django as shown on djangoproject.com/ download . Created a DB . django-admin.py startproject name .

Re: getting the admin interface started

2007-12-30 Thread marcus
thanks, karen, for having some time for my problem... i repeated now all steps from chapter 5 from creating the app to calling the site localhost/admin and again the same. i uploaded now what django gave me. http://senduit.com/751de6 any help would make my day. marcus

Re: getting the admin interface started

2007-12-30 Thread marcus
> There should be a directory > site-packages/django/contrib/admin/templates/admin After my last post I installed the latest development version, but I think as far as this point is concerned there should be no difference and I have that directory, but - it's OS X 10.5 here - there is just a file

Re: getting the admin interface started

2007-12-30 Thread marcus
this is working. thanks and happy new year! http://groups.google.no/group/django-users/browse_thread/thread/9f40df4683fe70dd --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

ordering ForeignKeys

2007-12-30 Thread marcus
s are like 1 Jaguar 2 BMW 3 Alpha-Romeo ... And when I want to edit 'Something' on the admin site then the companies also appear in this order within the select element. Is it possible to change this? Thanks, Marcus --~--~-~--~~~---~--~~ You receiv

'HttpResponse' object has no attribute 'url' when using Client() for tests

2014-10-15 Thread Marcus
Hi, I just updated Django from an older version to 1.6.7 and some of my tests are now failing while trying to follow redirects. In [1]: from django.test import Client In [2]: import django In [3]: django.VERSION Out[3]: (1, 6, 7, 'final', 0) In [4]: c = Client() In [5]: r = c.get('/click/1

Re: 'HttpResponse' object has no attribute 'url' when using Client() for tests

2014-10-16 Thread Marcus
Thanks for your answer and your assumption is correct, that's how the redirect looks. A quickfix in the test was to use a response without follow=True and response['location'] to test the redirect (which only went one step). Marcus On Wednesday, October 15, 2014 5:31:4

Reacting to browser closing the socket

2009-04-03 Thread Marcus Weseloh
external command to the client and have the command terminate when the socket goes away? My streaming code: def fetch(request): stdin, stdout = os.popen2('cmd') stdin.close() return HttpResponse(stdout) Cheers, Marcus --~--~-~--~~~---~--~-

Re: Reacting to browser closing the socket

2009-04-03 Thread Marcus Weseloh
Hello again, I think I solved my problem (at least for the development server) by monkey patching django.core.servers.basehttp.ServerHandler. Does anybody know of any horrible side effects this might have, or can suggest a more elegant solution? Thanks in advance, Marcus --- the

Re: Reacting to browser closing the socket

2009-04-03 Thread Marcus Weseloh
ny of the other niceties of Django (like ORM, Admin Interface, templates etc) at this point, just the request-view-response code. I just wanted to use Django to kick-start the development a bit. Cheers, Marcus --~--~-~--~~~---~--~~ You received this message bec

Re: Reacting to browser closing the socket

2009-04-04 Thread Marcus Weseloh
the client. Oh well... back to the drawing board. :-) Thank you Graham and Malcom for your detailed answers! Cheers, Marcus I --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Application naming and project directory layout

2009-11-26 Thread Marcus Weseloh
r areas in Django that rely on applications having unique names? Do I need to ditch the Python-style namespacing and resort to module1_app1, module2_app1 application names? Cheers, Marcus -- You received this message because you are subscribed to the Google Groups "Django users&

Re: Application naming and project directory layout

2009-11-26 Thread Marcus Weseloh
On Thu, 26 Nov 2009 10:18:44 +0100 Marcus Weseloh wrote: > [...] but are there other areas in Django that rely on > applications having unique names? Do I need to ditch the Python-style > namespacing and resort to module1_app1, module2_app1 application names? Answering my own question:

Re: how template tag extends works

2010-05-21 Thread Marcus Carlsson
Does example.html print the data in `item` and if so, why not make the loop in example.html and just use include one time in your "main" template? Concerning your actual question. Even if it's cached it seems like bad practice to me so I would avoid using this method but without more info about wh

Re: How to restrict the size of file being uploaded apache + django

2010-05-24 Thread Marcus Carlsson
As far as I know you have no way of knowing the size of the file before the upload except if you use a javascript/flash upload. Otherwise to determit the size of the file the user will have to upload it and then the form (along with the file) is sent to your view which will then handle it. The all

Re: How to save links in the TextField

2010-05-24 Thread Marcus Carlsson
A better approach would be just saving the link (not using html markup) and then apply a filter to those links. This result could later on be cached if performance is an issue. If you later on modify the saved links, just remember to empty the cache. On 24 May 04:55, nameless wrote: > mmm 2 textfie

UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-10 Thread Marcus Whybrow
ough this might be because I had defined no url tuples in the urlpatterns variable, however that did not solve the issue. I just cannot figure it out, I am sure it will be something really simple, Thanks for any help, Marcus -- You received this message because you are subscribed to the Google

Re: UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-11 Thread Marcus Whybrow
file into the module resolved the name conflict and allowed Django to run correctly. On Jun 11, 1:57 pm, bruno desthuilliers wrote: > On 11 juin, 00:45, Marcus Whybrow wrote: > > > > > > > mod_wsgi (pid=2639): Exception occurred processing WSGI script '/home/ >

[django-users] suggestion

2006-10-15 Thread Marcus Mendes
Hello all, what about if we put "[django-users]" (or something like this) string at the begining of subject of our e-mails? It will be more easy to identify all e-mails tha came from that list. Thanks. Marcus -- Marcus Mendes "A coragem é a forma de todas as virtudes em

Re: [django-users] suggestion

2006-10-16 Thread Marcus Mendes
Thanks so much Sirs. I did a filter at my gmail. Thanks again. Marcus On 10/15/06, Don Arbow <[EMAIL PROTECTED]> wrote: > > On Oct 15, 2006, at 3:18 PM, Marcus Mendes wrote: > > > > Hello all, > > what about if we put "[django-users]" (or something

Re: Diamanda Wiki support and some django tutorials :)

2006-10-20 Thread Marcus Mendes
Congrats! I'll allways be there. Marcus On 10/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > there may be some problems with not fully redirected DNS. Should be ok > after few hours. > > > > > -- Marcus Mendes "A coragem é a forma de todas

Re: New to django & www apps

2006-10-23 Thread Marcus Mendes
Hi Przemek, I think the best local to get an introduce is www.djangoproject.com ... but you can find something at www.python.org (search by mod_python). I hope this help. Marcus On 10/23/06, Przemek <[EMAIL PROTECTED]> wrote: > > Hi, I make my living as a software developer for ab

Re: IRC django channel

2006-10-23 Thread Marcus Mendes
Hi, Just for start, you can use 'xchat'; choose freenode server , set nickname to you and try to connect by clicking on 'connect'. Marcus On 10/23/06, Picio <[EMAIL PROTECTED]> wrote: > > Hello, > I'm pretty new about freenode and IRC chat in gen

Re: IRC django channel

2006-10-23 Thread Marcus Mendes
Yes, you must choose a login to you and try it. Also you can try use the xchat's help :-) and set some others features. I hope this help. Marcus On 10/23/06, Picio <[EMAIL PROTECTED]> wrote: > > Hello Marcus, > now I have XChat running, on freenode server. > Do I

Re: New to django & www apps

2006-10-24 Thread Marcus Mendes
You are always welcome! Bye Marcus On 10/24/06, Przemek <[EMAIL PROTECTED]> wrote: > > Thank you to all for suggestions! > > Przemek > > > > > -- Marcus Mendes "A coragem é a forma de todas as virtudes em ponto de prova" C.S.Lewis _

Re: Run your Django app with the CherryPy server

2006-12-04 Thread Marcus Mendes
Congrats! Very good idea! Regards. Marcus On 12/3/06, Loïc (titoo) <[EMAIL PROTECTED]> wrote: > > Hello, > > For interested people, I have wrapped the WSGI CherryPy server to be > used with Django. With the same wrapper you can start several django > projects (one cherr

Re: My second web site that use django, http://beyking.51boo.com

2006-12-15 Thread Marcus Mendes
Congrats! Very good! I've got the source for learn more . Thanks. Marcus On 12/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > This is a weblog application, source code is open > > > > > -- Marcus Mendes "A coragem é a forma de todas as

pysqlite installation

2012-02-12 Thread Marcus Maximus
Hey guys, i am trying to install pysqlite under win 7, but the installation routine always terminates...(I always have to kill the process ,cause the installation routine always hangs on) My python version: ActivePython 2.7.2.5 (ActiveState Software Inc.) based on Python 2.7.2 (default, Jun 24 20

sqlite3 error

2012-02-12 Thread Marcus Maximus
Hey guys, i am trying to configure sqlite3(cause it seems to be easier than postgresql) for django: my setting.py file is: DATABASES = { 'default': { 'ENGINE': 'sqlite3', #'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME

sqlite3 database error

2012-02-13 Thread Marcus Maximus
Hey guys, i am using sqlite3 for my django app. BUT I have problems installing it. Here are my configs: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': 'C:\Users\Maximus\Desk

How to set up Apache to serve up django websites?

2011-10-24 Thread Roger Marcus
I have the django project Mezzanine up and working well. They have done a much better job in making it easier for the user to install and run their project. I am now fighting to get this all working with apache. >From the django documentation, chapter 20, i have inserted: SetHandler python

Re: How to set up Apache to serve up django websites?

2011-10-25 Thread Roger Marcus
of what is needed for other travelers on this road. thanks, Roger Marcus On Oct 25, 11:16 am, Reikje wrote: > On a side note, I can recommend this > book:http://www.packtpub.com/django-1-1-testing-and-debugging/book > They have an entire chapter for running Django on Apache.

Problems for seeing Multypolygons with OSMGeoAdmin

2013-08-04 Thread Marcus 43
e the borders, I hope you can help me to fix that, what's wrong? Thanks in advance, Marcus. -- 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 d

Re: Generic Views and Django.contrib.auth

2014-12-03 Thread Marcus Cl
yes On Tue, Dec 2, 2014 at 10:05 PM, Collin Anderson wrote: > Hi, > > It's probably possible. Do you mean url reversing the login view, or url > reversing the view where login is required? > > Collin > > On Sunday, November 30, 2014 11:07:42 PM UTC-5, Rootz wrote: >> >> Hi can this work with url

Possible bug: Querying a model with an IntegerField value of 0 using mysql-connector/python returns a queryset where the field value becomes a NoneType 2.0.3.0

2018-08-19 Thread Marcus Grass
Hi, I ran into a strange problem when i switched from using mysqlclient to mysql-connector/python. In practice: class Foo(models.Model): bar = models.IntegerField(default=0, null=False) queryset = Foo.objects.all().filter(bar=0) print(queryset[0].bar) # prints None Anyone know a fix for thi

Re: Possible bug: Querying a model with an IntegerField value of 0 using mysql-connector/python returns a queryset where the field value becomes a NoneType 2.0.3.0

2018-08-20 Thread Marcus Grass
? > > > On Sunday, August 19, 2018 at 6:15:44 PM UTC-4, Marcus Grass wrote: >> >> Hi, I ran into a strange problem when i switched from using mysqlclient to >> mysql-connector/python. >> >> In practice: >> class Foo(models.Model): >> bar = model