Re: Checkout and follow @djangopro on twitter (Aggregated Django News and Tips)

2008-11-07 Thread Sebastian
Awesome, following. On Nov 7, 1:28 pm, djangopro <[EMAIL PROTECTED]> wrote: > Hello everybody, > > We will be broadcasting professional django development news and tips > via our twitterhttp://twitter.com/djangopro. Please follow and let > everybody know. @djangopro is an effort to make the djang

Is There Anyway to Make the Cache Template Tag Cache Stuff Based on the User Session?

2008-11-14 Thread Sebastian
The following code would show the same content for all users: {% cache 500 usertags %} {% for tag in tags%} {{ tag }} {% endfor %} {% endcache %} I need to to be able to cache template content based on the user session. Does anyone know how to do that? Thanks, Sebastian

Re: Is There Anyway to Make the Cache Template Tag Cache Stuff Based on the User Session?

2008-11-14 Thread Sebastian
That's exactly what I needed. I think I was looking at the old docs. Thanks On Nov 14, 3:34 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-14 at 03:24 -0800, Sebastian wrote: > > The following code would show the same content for all users: > &g

Python object maker for database result sets

2009-04-14 Thread Sebastian
e("SELECT * FROM people WHERE id=%s, (1,)) »»» person = PyObject (cursor, "NewClass") »»» person »»» »»» print person.t_first_name »»» sebastian »»» print person.__dict__ »»» {'id':1, 't_first_name':'sebastian', 't_last_name':'ritter

Running all the tests of a clean Django 1.1.1 installation on my machine shows many internal django errors

2010-05-25 Thread Sebastian
Hello, running all the tests of a clean Django 1.1.1 installation on my machine shows many internal django errors. You can see the complete output and stacktraces here: http://gist.github.com/411942 Any idea? -- You received this message because you are subscribed to the Google Groups "Django us

New Forms

2007-06-29 Thread Sebastian
Hello Django users, I have a quick question about new Forms in Django 0.96. I am finding that the line between my front-end and the middleware is starting to blur due to the new forms library. I have managed to add css to form field widgets dynamically through the use of template filters which,

Re: New Forms

2007-06-29 Thread Sebastian
Id like to define the Field widget in my templates without using a django object (ie. widgets.PasswordInput() ). Im not sure if this even possible, but it seems to be the most logical place to do it. Kind regards, Sebastian --~--~-~--~~~---~--~~ You received thi

Re: New Forms

2007-06-29 Thread Sebastian
anywhere but the template. Thanks for all your help though, it always helps to get other peoples' perspecive. Kind regards, Sebastian On Jun 29, 2:01 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 6/29/07, Sebastian <[EMAIL PROTECTED]> wrote: > > > From

Re: Performance / Memory/CPU Usage of A Django App with 10,000+ Models in a High Traffic Site

2008-01-14 Thread Sebastian
Thanks for the input. Having a entity and value model was actually my first approach but I am concerned is being forced to have multiple inserts/updates when inserting/updating a entity record to the database. If my entity has 30 fields and an user edits a record associated with them instead of ju

Mysterious Django queries

2008-02-04 Thread Sebastian
Hi everyone, I am currently undertaking measures to improve performance of an application that we use very frequently. I am using Django-0.96 and PostgreSQL 8.1 database. In order to see exactly what is happening on a database level, I have been examining my PostgreSQL logs and found the followi

Re: Mysterious Django queries

2008-02-04 Thread Sebastian
tatus': filter_status } Thanks for your help. Sebastian On Feb 4, 11:07 am, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > Sebastian napisał(a): > > > > > I am currently undertaking measures to improve performance of an > > application that we use very frequentl

Slow template

2008-04-14 Thread Sebastian
(where we us apache (with mod_python) to handle media files) the end result is only slightly better. Can anyone think of other areas that might be taking up time? Regards, Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Slow template

2008-04-15 Thread Sebastian
on the page is rendered. Is that a browser specific issue or can this be mitigated in some way? Sorry in advance for deterring from a Django based discussion. Thanks for your help Sebastian On Apr 15, 12:49 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > It sounds like wh

Changing timestamps in apache with mod-python

2008-05-13 Thread Sebastian
:22:58 ] [16/Apr/2008:10:24:33 0100] [16/Apr/2008:10:24:40 0100] Could it be that Django has something to do with this? Or maybe a python module? Any help would be greatly appreciated. Kindest Regards, Sebastian --~--~-~--~~~---~--~~ You received this message

Re: Changing timestamps in apache with mod-python

2008-05-13 Thread Sebastian
I have checked the Python's datetime in a shell and it returns the correct time. I have also checked the datetime in a manage.py shell and it also returns the correct value. On May 13, 9:29 am, Sebastian <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a question about usin

Re: Changing timestamps in apache with mod-python

2008-05-13 Thread Sebastian
or Django as it is local to apache only. On May 13, 10:47 am, David Reynolds <[EMAIL PROTECTED]> wrote: > On 13 May 2008, at 9:52 am, Sebastian wrote: > > > I have checked the Python's datetime in a shell and it returns the > > correct time. I have also checked the

Re: Changing timestamps in apache with mod-python

2008-05-13 Thread Sebastian
Thanks Graham. I had forgotten one other service running under Django as well. The settings.py file still had the TIME_ZONE setting set to GMT. Sebastain On May 13, 11:13 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On May 13, 8:05 pm, Sebastian <[EMAIL PROTECTED]> wrote:

django-shop bitcoin plugin

2013-09-03 Thread sebastian
/pypi/django-shop-bitpagos/0.1 The source code is hosted at github: https://github.com/BitPagos/django-shop-bitcoin Feedback is welcome! Thanks, Sebastian www.bitpagos.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Non-ASCII character - strange error

2008-11-19 Thread Sebastian Bauer
Try put: # -*- coding: utf-8 -*- in first line in .py file Maybe you need change utf-8 to your encoding Dominic Ashton pisze: > > Guys, > > > Just had the strangest thing happened. > > Finished working on my project last night and everything was working > fine. I backed up the directory using

license problem

2009-01-05 Thread Sebastian Bauer
Hello, i want to release some code, but i have one problem: how impel peoples to send me back patches? Any suggestions are welcome :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Question about transaction middleware

2009-01-15 Thread Sebastian Bauer
Hi, i have one simple question, why this middleware leave transaction in managed mode? i think this create a little hole to execute queries we dont want to execute. Thanks for answer --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: Dynamically changing q object

2009-01-26 Thread Sebastian Bauer
W dniu 26.01.2009 13:08, Stefan Tunsch pisze: > Hi! > > I have a qset object like this: > > qset = ( > Q(dst__contains=company.phone) | > Q(dst__contains=company.cellphone) | > Q(dst__contains=company.fax) | > Q(src__contains=comp

Re: Dynamically changing q object

2009-01-26 Thread Sebastian Bauer
W dniu 26.01.2009 13:08, Stefan Tunsch pisze: > Hi! > > I have a qset object like this: > > qset = ( > Q(dst__contains=company.phone) | > Q(dst__contains=company.cellphone) | > Q(dst__contains=company.fax) | > Q(src__contains=comp

Re: Faster Database?

2009-02-25 Thread Sebastian Bauer
W dniu 25.02.2009 11:53, bruno desthuilliers pisze: > On 25 fév, 11:00, Sean wrote: > >> Hi, >> >> I am using django+MySql. >> My job involves to write a huge number of products codes into the >> MySql, code such as: ABCDEFGHI10, it is typically between 1 million up >> to 50 million codes wit

Re: Optimizing my ORM query

2009-03-06 Thread Sebastian Bauer
W dniu 06.03.2009 01:24, Malcolm Tredinnick pisze: > On Thu, 2009-03-05 at 18:48 -0500, Jeff Gentry wrote: > >> Suppose I have three models (in pseudocode): >> >> class Foo: >> asdf = models.CharField() >> >> class Blah: >> qwerty = models.CharField() >> >> class Bob: >> foo = model

Re: Optimizing my ORM query

2009-03-06 Thread Sebastian Bauer
W dniu 06.03.2009 20:06, Jeff Gentry pisze: > On Fri, 6 Mar 2009, Malcolm Tredinnick wrote: > >>> Bob.objects.filter(foo=myFoo).filter(blah__in=myBlahs) >>> >> Seems like the best (and obvious) way to me. >> > > Gotcha. > > >> Yes it does. As written, your models have no order

Re: Editors of choice

2009-09-11 Thread sebastian serrano
I use eclipse + pydev. Anyway I found writing python code very easy, so any editor with highlighting and intergrated debugging is good. On Sep 7, 12:55 pm, Samuel Hopkins wrote: > Hello Django peeps, > > I am a Django newbee. I have had my eye on Djanjo for a year or so now but > held off becaus

Re: Multiple django version on developer machine

2010-05-11 Thread Sebastian Pawlus
And after virtualen take a look on virtualenvwrapper, makes virtualenv more handy http://pypi.python.org/pypi/virtualenvwrapper On Wed, May 12, 2010 at 4:50 AM, Andy McKay wrote: > > On 2010-05-11, at 7:26 PM, james_027 wrote: >> While I have a number of django apps develop for Django 1.1 ... I a

Re: Close window after download

2010-05-12 Thread Sebastian Pawlus
I'm not sure about your case http://jquery.malsup.com/form/ and event "success", take a look on http://jquery.malsup.com/form/#ajaxSubmit. > Does anyone know how to track if a download completed? > > On May 6, 9:52 pm, CrabbyPete wrote: >> I have code that generates a file for download. I want t

Re: Running all the tests of a clean Django 1.1.1 installation on my machine shows many internal django errors

2010-05-25 Thread Sebastian Sanitz
I am sorry - this problem was already adressed: http://code.djangoproject.com/changeset/11821 I upgraded to Django 1.1.2 and everything is fine! On Tue, May 25, 2010 at 4:29 PM, Sebastian wrote: > Hello, running all the tests of a clean Django 1.1.1 installation on > my machine show

Custom attributes in Django

2010-08-30 Thread Sebastian Pawlus
Hi Maybe im looking in wrong places or maybe there is no application to cover functionality of carrying custom/admin defined attributes, or maybe it isn't even possible. Use Case could looks like Defining models from customr_attr import models class ObjectWithCustom(models.Model): name = m

Re: Custom attributes in Django

2010-08-31 Thread Sebastian Pawlus
looking for something like alex's http://github.com/alex/django-taggit, but perfect situation will be a tag with a type(or choice) thanks On Mon, Aug 30, 2010 at 6:20 PM, Beres Botond wrote: > Hi Sebastian, > > I suppose you are trying to do something like this? > > cl

Django auth tutorial

2010-11-03 Thread Sebastian Alonso
Hi everyone, I'm a complete django newbie, and I need to use the Auth system. The problem is that I haven't been able to find a good tutorial such as que django one, with all the examples, pretty simple, very easy, with the templates included, etc... My main issue is that i dont get on well wit

Re: Django auth tutorial

2010-11-03 Thread Sebastian Alonso
Thanks a lot peter! I think I'll get started with that info and move further if needed. thanks seba 2010/11/3 Peter Herndon > > On Nov 3, 2010, at 12:31 PM, Sebastian Alonso wrote: > > > Hi everyone, I'm a complete django newbie, and I need to use the Auth > s

Top 10 tips to a new Django developer. correct approach?

2010-01-15 Thread Sebastian Pawlus
Hi I've found something like "Top 10 tips to a new Django developer" http://blog.dpeepul.com/2009/08/31/top-10-tips-to-a-new-django-developer/ I'm really blasted by first point "Don’t put project name in the imports". is this point correct? Django site and core developers http://github.com/jaco

Re: Top 10 tips to a new Django developer. correct approach?

2010-01-15 Thread Sebastian Pawlus
project name. If you make a reusable app and release it > then I want to use it, I don't want to have to include the project > namespace, i just want the app. > > However, its your shipping the project as a whole then it doesn't really > matter and its then its just down

Database performance during test execution

2010-01-29 Thread Sebastian Pawlus
Hi everyone I've very confusing issue related whit databases performance. I've took two database engines and compared their performance during typical run for project test suite. results: MySQL: Ran 241 tests in *533.822s* PostgreSQL: Ran 241 tests in *34.468s* * * Results are more than strange.

Re: Database performance during test execution

2010-01-29 Thread Sebastian Pawlus
? On Fri, Jan 29, 2010 at 12:15 PM, Russell Keith-Magee < freakboy3...@gmail.com> wrote: > On Fri, Jan 29, 2010 at 6:51 PM, Sebastian Pawlus > wrote: > > Hi everyone > > I've very confusing issue related whit databases performance. I've took > two > >

Django 1.1 features covered in book.

2010-01-29 Thread Sebastian Pawlus
Hi Do you know any Django books which cover functionalities introduced by version 1.1? thanks -- 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, s

Re: Django 1.1 features covered in book.

2010-01-30 Thread Sebastian Pawlus
Thanks Shawn for a book, and ekm Bill for link cool website cool colors ;) one for you http://tinyurl.com/ydud8rl On Fri, Jan 29, 2010 at 6:07 PM, Shawn Milochik wrote: > "The Definitive Guide to Django," Second Edition by Adrian Holovaty and > Jacob Kaplan-Moss covers Django 1.1. > > I have a c

User Friendly Parent Categories in Admin Panel

2007-06-11 Thread Sebastian Macias
tegories and everything works fine however I would like to be able to use some kind of indentations such as: Category 1 Category 1 :: Sub Category 2 Category 3 :: Sub Category 4 Can anybody spare some knowledge and help me out finding out a way to archive this. I can update the wiki with the sol

Re: User Friendly Parent Categories in Admin Panel

2007-06-13 Thread Sebastian Macias
Thanks Chris. I think this is going to help a lot. I might simplify the model a little and update the wiki so others with the same question can find a quick solution. Sebastian Macias On Jun 12, 6:33 am, "Chris Moffitt" <[EMAIL PROTECTED]> wrote: > You can see the categ

Is there any way to custom group models in the admin panel?

2007-07-11 Thread Sebastian Macias
By default models are grouped by app. I really need to be able to break down that grouping a little bit more. I will have an app with probably 40-50 models and would like to group those logically instead of having them all listed under my app name. Thanks, Sebastian

Modifying Model Field Attributes on Run Time

2007-07-18 Thread Sebastian Macias
Is there anyway to modify model field attributes on run time.. What I'm trying to do is to build some logic that will decide whether a model that is related to other model should be edited or not inline in the admin. Basically: "client = models.ForeignKey(Client, unique=True, edit_inline = True,

Re: Is there any way to custom group models in the admin panel?

2007-07-18 Thread Sebastian Macias
I just opened a ticket for this. http://code.djangoproject.com/ticket/4918 Sebastian Macias On Jul 12, 6:37 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/12/07,SebastianMacias <[EMAIL PROTECTED]> wrote: > > > > > By default models are gro

Please Help with Namespace Issue.

2007-07-24 Thread Sebastian Macias
Hello I'm having this strange problem and was wondering if anyone knows what might be causing it. I'm working on a django project called championsound. I integrated django registration the "regular" way: copied the app folder to my project folder and added (r'', include('marketing.urls')), to my

Best Practices to Make your Apps Portable

2007-07-24 Thread Sebastian Macias
ed to have a django project for each app. I'm still new to python and django (and loving them) and maybe these are concerns that are easily addressed by methods I'm still not aware of. Any thoughts will be greatly appreciated. Thanks, Sebastian Macias digital-telepathy inc --~--~-

Re: Best Practices to Make your Apps Portable

2007-07-25 Thread Sebastian Macias
th "['/var/django_root', '/var/django_root/shared'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE championsound.settings PythonDebug On Note how '/var/django_root' and '/var/django_root/shared' are added

Re: Best Practices to Make your Apps Portable

2007-07-27 Thread Sebastian Macias
I just added it to the wiki: http://code.djangoproject.com/wiki/BestPracticesToWorkWith3rdPartyAppsAndMakingYoursPortable It's available in the resources page. http://code.djangoproject.com/wiki/DjangoResources Best, Sebastian Macias On Jul 26, 12:36 pm, Carl Karsten <[EMAIL P

ObjectPaginator Performance in Busy Sites

2007-08-31 Thread Sebastian Macias
about this? What are your thoughs? Thanks, Sebastian Macias --~--~-~--~~~---~--~~ 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 unsubsc

Django Quizzes or Questionnaires App

2008-01-08 Thread Sebastian Macias
. Performance must be really good. Does anyone know if there is a Django Quizzes or Questionnaires App code available anywhere?? If there isn't what would be the best way to achieve something like this so saving and searching is fast as if each quiz had its own model and table? Seba

Re: Django Quizzes or Questionnaires App

2008-01-08 Thread Sebastian Macias
Basically what I'm looking forward is be able to have a schema-less model. Sebastian Macias wrote: > Hello, > > I need to be able to build custom questionnaires with yes/not options, > multiple options and free text options. The answers must be > searchable: > > I nee

Performance / Memory/CPU Usage of A Django App with 10,000+ Models in a High Traffic Site

2008-01-13 Thread Sebastian Macias
vance. Sebastian --~--~-~--~~~---~--~~ 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 to [EMAIL

Re: load external xml and css with varibles?

2008-05-21 Thread sebastian stephenson
I done python and html/css and I have had had no programing experence On 21 May 2008, at 17:11, Matthias Kestenholz wrote: > > On Wed, 2008-05-21 at 08:34 -0700, sebey wrote: >> what I really need is how to code this I know what to do but I don't >> know how to do it >> > > Then learn how to do i

Re: Help me build my site with answers to my questions from models to newsletters everybody view this at least once

2008-05-24 Thread sebastian stephenson
ok but I can you intergate it in to a site as it seems that it only can use its own html sign up page can you make your own that talks to mailman? On 23 May 2008, at 23:08, Jeff Anderson wrote: > sebey wrote: >> mailman seens to be aimed at something like google groups and I doing >> a newle

Re: problem in remember me feature

2008-05-27 Thread Sebastian Bauer
did you have this: import settings in files where you using settings variable? Mayank Dhingra pisze: > any thoughts ? > > On May 27, 12:58 pm, Mayank Dhingra <[EMAIL PROTECTED]> wrote: > >> I am experiencing a strange problem while using >> DualSessionMiddleware >> >> http://code.djangoprojec

Re: list index out or range,getting rss feed urls out of db

2008-05-28 Thread sebastian stephenson
great finally some help thank you so much! On 28 May 2008, at 15:20, Rajesh Dhawan wrote: > > > > On May 28, 6:30 am, sebey <[EMAIL PROTECTED]> wrote: >> from django.http import HttpResponse >> import feedparser >> from ubermicro.shows.models import show >> >> def show_page(request): >> """th

Re: list index out or range,getting rss feed urls out of db

2008-05-29 Thread sebastian stephenson
, and move up from > there. That said, good luck! > > E > > > On May 28, 2008, at 11:45 PM, sebey wrote: > >> >> please much suggestions thank you >> >> On May 28, 4:37 pm, sebastian stephenson <[EMAIL PROTECTED]> wrote: >>> great fi

Re: list index out or range,getting rss feed urls out of db

2008-05-29 Thread sebastian stephenson
you'll probably just leave those alone in the > admin. Part of the standalone script should clear old FeedItems from > the database when you don't need them anymore. > > E > > On May 29, 2008, at 5:08 PM, sebastian stephenson wrote: > >> >> well umm. can I

Re: url help

2008-05-30 Thread sebastian stephenson
cool thats useful but more advice form other people would be great I will try that thank you On 30 May 2008, at 15:37, Jack M. wrote: > > Forgive me if this is a little off but, to have the argument passed > into the view, you'd want to use some different regexp: > (r'^shows/(\w+)','ubermicro.s

Re: Tutorial, def __unicode__ not working

2008-06-03 Thread Sebastian Bauer
try: def __str__(self): return self.question [EMAIL PROTECTED] pisze: > http://www.djangoproject.com/documentation/tutorial01/ > > added these: > class Poll(models.Model): > # ... > def __unicode__(self): > return self.question > > class Choice(models.Model): > # ... >

Re: Django models - newbie question

2008-06-07 Thread Sebastian Bauer
try this: return Teams.objects.get(self.team1).name nikosk pisze: > Hi all > > Does anyone know how to do something like this : > > class Game(models.Model): > team1 = models.ForeignKey(Teams, related_name=u'team_home') > team2 = models.ForeignKey(Teams , related_name=u'team_away') >

Re: Django models - newbie question

2008-06-07 Thread Sebastian Bauer
ups i think return Teams.objects.get(self.team1_id).name will be better :) Sebastian Bauer pisze: > try this: > > return Teams.objects.get(self.team1).name > > > nikosk pisze: > >> Hi all >> >> Does anyone know how to do something like this : >&

Re: OneToOneField

2008-06-13 Thread Sebastian Bauer
second is true, you need to use OnetOneField(Model,primary=True) to make field primary_key Juanjo Conti pisze: > Here > http://www.djangoproject.com/documentation/db-api/#one-to-one-relationships > says: > > ''' > The semantics of one-to-one relationships will be changing soon, so we > don't re

Re: simple python math help.

2008-06-15 Thread Sebastian Bauer
size = [200.0, 400.0] return size[0]/size[1] Jarred Bishop pisze: > Hi, this is driving me crazy. I'm sure there is a VERY simple solution > but can't seem to find it. thanks for you help. > > if I have > > size = 200, 400 > return size[0]/size[1] > > it returns '0'. which isnt much

Re: Why PostgreSQL?

2008-06-18 Thread Sebastian Bauer
i was using mysql for about 5y but now postgresql is better for me because of exclusive locks and full transactions support xhenxhe pisze: > Thanks for the info. So I guess I can just stick with MySQL since I > know it well... unless at some future date I find a compelling reason > to swtich to P

url views problem

2008-06-23 Thread sebastian stephenson
ok so I have in my data base a colium of rss feeds and I am parseing them via feedparser and I am having a touble getting one feed to have like "local/show/1" and another feed have "local/show/2" but how do you do this here is the urls.py in its current state: from django.conf.urls.defaults

Data truncated for column 'text' at row 1

2007-09-24 Thread Sebastian Dahlgren
Hi! I have built my site on the Django dev server and everything works fine there. But when I uploaded the project to a Apache + mod_python server I got an error Data truncated for column 'text' at row 1 That is shown when I pass swedish chars like å ä and ö into a form, which then POST's the fo

Data truncated for column 'text' at row 1

2007-09-24 Thread Sebastian Dahlgren
Hi! I have built my site on the Django dev server and everything works fine there. But when I uploaded the project to a Apache + mod_python server I got an error Data truncated for column 'text' at row 1 That is shown when I pass swedish chars like å ä and ö into a form, which then POST's the fo

Re: got an unexpected keyword argument 'max_digits'

2007-09-25 Thread Sebastian Dahlgren
What Django version are you using? Is that the SVN version? On Sep 25, 8:46 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > i have a model with : > > score = models.DecimalField(max_digits=4, decimal_places=2, > blank=True, null=True) > > when i issue: python manage.py syncdb

Syndication

2007-09-27 Thread Sebastian Dahlgren
n the error msg. But that's the way they do it in the docs (http://www.djangoproject.com/documentation/syndication_feeds/) and it works smooth on my dev-server. And, yes, I've seen this: http://code.djangoproject.com/ticket/1154. That looks depressing! What might be the problem? Any ideas

Looking to Hire 2-3 django Rockstars in San Diego, Solana Beach, CA ...And Remotely.

2007-10-22 Thread Sebastian Macias
://sandiego.craigslist.org/eng/454040216.html Best, Sebastian Macias CTO Positive Digital Solutions http://www.positivedigitalsolutions.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To po

django and s3

2007-11-10 Thread sebastian stephenson
I am considering using amazon s3 as a web-hosting service and I would like to know do django or python itself prevent this from happening? see ya sebey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Wondering about few 'burried' issues

2006-07-27 Thread Sebastian F
I have been researching few (web) application frameworks and considering our projects, Django outperforms all of them easily, reflecting exactly what we were going to build (well, no need to build now). After playing around with some test applications I noticed a few things, there wasn't a way to

RE: Wondering about few 'burried' issues

2006-07-28 Thread Sebastian Forsman
if a trivial one) open for 4 months. Though after signing up to this mailing list I can clearly see that there's no reason to worry. I'm not sure why I didn't realize Jay's suggestion. Thanks, I'll do that! Best Regards, Sebastian -Original Message- From: djan

Re:

2021-10-08 Thread Sebastian Jung
Hello, Your app tries to insert a new entry in table auth.users. in this table a User exists with id=2 and you get this constraint error. Please truncate auth.users table and try it again. Regards ola neat schrieb am Fr., 8. Okt. 2021, 18:12: > Hello guys > I've got this issue i don't understa

Re: Re:

2021-10-09 Thread Sebastian Jung
ption enabled. >> >> On Sat, Oct 9, 2021, 12:09 PM Sebastian Jung >> wrote: >> >>> Hello, >>> >>> No only friends get social media or WhatsApp. >>> >>> I think yoz need a experience developer. Try to get one developer on >>

Re: SQL query to django

2021-10-10 Thread Sebastian Jung
Hello Eugene, You can also take a raw query... https://docs.djangoproject.com/en/3.2/topics/db/sql/ Regards Eugene TUYIZERE schrieb am Sa., 9. Okt. 2021, 10:52: > Dear all, > > I have a table let call it *YY*. Some fields in this table are status, > time_frame, etc. > time frame is in terms o

Re: Child data table in Django

2021-10-13 Thread Sebastian Jung
Hello eugene, You have implement also jquery >= 3.5.1 and datatablea.min.js Please show us your html code and javascript code that open row when you click on this item... Regards Eugene TUYIZERE schrieb am Mi., 13. Okt. 2021, 14:05: > Dear All, > > Kindly assist me to have a tutorial or code

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-18 Thread Sebastian Jung
Hello, then change in widgets Select() to SelectMultiple(). https://docs.djangoproject.com/en/3.2/ref/forms/widgets/#selectmultiple Regards Am Mo., 18. Okt. 2021 um 15:51 Uhr schrieb 'Maryam Yousaf' via Django users : > Hi, > > I have one manytomany field in one of my model which is currently

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-18 Thread Sebastian Jung
lect multiple > values . > currently, it is coming like this: > > On Mon, 18 Oct 2021 at 16:07, Sebastian Jung > wrote: > >> Hello, >> >> then change in widgets Select() to SelectMultiple(). >> >> https://docs.djangoproject.com/en/3.2/ref/forms/widgets

Re: DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-19 Thread Sebastian Jung
ng any drop down. > > On Mon, 18 Oct 2021 at 16:07, Sebastian Jung > wrote: > >> Hello, >> >> then change in widgets Select() to SelectMultiple(). >> >> https://docs.djangoproject.com/en/3.2/ref/forms/widgets/#selectmultiple >> >> Regards >&

Re: I have an error in django project

2021-10-23 Thread Sebastian Jung
Hello, Please change code: SubCategory.objects.filter(productcategory_id=productcategory_id).order_by('name') To SubCategory.objects.filter(id=productcategory_id).order_by('name') Regards Yabesh schrieb am Sa., 23. Okt. 2021, 17:18: > > https://stackoverflow.com/questions/69687988/djang

Re: Initial value is not displayed on forms.DateField with widget input type="date" when localized

2021-10-27 Thread Sebastian Jung
Hello, I think you need a entry in settings.py with USE_L10N = True You can make fix format in settings.py with DATE_FORMAT = 'd.m.Y' Regards binoy...@gmail.com schrieb am Mi., 27. Okt. 2021, 11:07: > Hi > I have a form field forms.DateField and widget as follows > > class CustomDateInput(for

Re: Initial value is not displayed on forms.DateField with widget input type="date" when localized

2021-10-27 Thread Sebastian Jung
Hello, but why you configure this with a own class? You can configure this in settings.py... Regards Virenfrei. www.avast.com

Re: New user

2021-11-02 Thread Sebastian Jung
Hello, i find in beginning Django Girls tutorial very helpful: https://tutorial.djangogirls.org/de/ Am Mo., 1. Nov. 2021 um 22:24 Uhr schrieb Dalys Lanzas < lanzasda...@gmail.com>: > Hi, I want to learn Django, so if someone now the best way I appreciate. > > -- > You received this message becau

Re: How to approach

2021-11-04 Thread Sebastian Jung
Hello, Take a beginner guide like django girls tutorial. Then begin with your task step for step. It exists many turorials how to build login page with django etc.pp. and when you have a specific Problem then write and i think most of us can help you. Regards Trippy Samurai schrieb am Do., 4. N

Re: render two template at one time in django

2021-12-11 Thread Sebastian Jung
Hello, I think you csn use render_to_string. Then you cah use it to 2 different Templates and can concat both strings abd return string with httpresponse. Why do you don't include second template in First template? This is much easier... Regards VIVEK KUMAR schrieb am Sa., 11. Dez. 2021, 16:2

Re: On django model.

2021-12-24 Thread Sebastian Jung
Hello, Insectdb is not to generate/update database. Please make it with python manage.py makemigrations and after that python manage.py migrate Please read a tutorial https://tutorial.djangogirls.org/de/ Regards Amor Zamora schrieb am Fr., 24. Dez. 2021, 13:11: > Hi guys. > I have an applicat

Re: On django model.

2021-12-24 Thread Sebastian Jung
did not understand the situation, because with migrations I > don't resolve to convert the database into the model. The process that I > need is the other way around. > I needs for a table created in the database to be included in the model. > > El vie, 24 dic 2021 a las 14:03, Seba

Re: CSRF token missing on models with a file/imagefield

2021-12-28 Thread Sebastian Jung
Hello, try in your html template- I think this works... Regards Am Di., 28. Dez. 2021 um 08:26 Uhr schrieb Yorben Verhoest < yorben.verho...@gmail.com>: > So, turn out that the problem occurs because for some reason my > request.POST data is empty. > > I found out because I wrote a custom CS

Re: linebreaksbr doesn't work

2022-01-08 Thread Sebastian Jung
Hello, Write your own filter where you replace all \n with . Then you habe an idea why it would'nt work. Regards ___Maxim.Nesterov___ schrieb am Sa., 8. Jan. 2022, 10:58: > i tried but didn't work > > On Saturday, January 8, 2022 at 4:50:00 AM UTC+3 juw...@gmail.com wrote: > >> Try `linebreaks

Re: Basic upload

2022-01-27 Thread Sebastian Jung
Hey, Here a tutorial https://simpleisbetterthancomplex.com/tutorial/2016/08/01/how-to-upload-files-with-django.html John Dollosa schrieb am Do., 27. Jan. 2022, 15:02: > I can't seem to get the basic upload feature work. > Was trying to access UploadModel.my_upload_field.save but the method > 's

Re: Queryset in settings.py?

2022-01-28 Thread Sebastian Jung
chrieb Fabio C. Barrionuevo da Luz < bna...@gmail.com>: > Hi Sebastian, I guess this is not possible. > > But the real question is: why do you need a queryset to perform in the > settings? > > Perhaps if you explain what problem you want to solve, we can give you > some opt

Re: copy value from field1 to field2

2022-01-28 Thread Sebastian Jung
Hello, i think this is easy. When customer submit post data to django and form is valid. then you make following. formentry = form.save(commit=False)formentry.field2 = formentry.cleaned_data['field1'] formentry.save() This is untested but i am very sure that this works Regards Am Fr., 28.

Re: web page blank

2022-02-01 Thread Sebastian Jung
Hello, Please try: context = { 'posts': post } 'Delvin Alexander' via Django users schrieb am Mi., 2. Feb. 2022, 06:59: > Hello everyone, > > I am currently following a django tutorial regarding applications. I have > followed through completely but for some reason, when I run serv

Re: Help

2022-02-02 Thread Sebastian Jung
You have a package https://pypi.org/project/django-emoji/ installed and now you must in yozr settings.py set this variable Fernando Jover schrieb am Mi., 2. Feb. 2022, 16:26: > Hi guys! > > > > i am learn Pythonand Pycharm show me this: > > > > raise ImproperlyConfigured( > > django.core

Re: UNIQUE constraint failed: matrixapp_bookplot.user_id

2022-02-06 Thread Sebastian Jung
Hello, Because your implementation is wrong. Please read this https://tech.serhatteker.com/post/2020-01/uuid-primary-key/ Jason schrieb am So., 6. Feb. 2022, 00:27: > A bit of a hint about your db schema, do you want a user ID to be one to > one with each book plot? also, why is your primary

Re: Ongoing project

2022-02-07 Thread Sebastian Jung
Hello, i also make at the moment with django oscar a own website with shop. What do you mean with innovations? Please write me if django oscar is a suitable system for you. Regards Am Do., 17. Dez. 2020 um 12:43 Uhr schrieb Peter Kirieny < kirienype...@gmail.com>: > Hello team > I have a proje

Re: Ongoing project

2022-02-07 Thread Sebastian Jung
Siddique schrieb am Mo., 7. Feb. 2022, 22:56: > Hello > > Hope all doing well > > Could you please send the GitHub link of your djnago Oscar project. > > Thanks > > On Tue, Feb 8, 2022, 1:27 AM Sebastian Jung > wrote: > >> Hello, >> >> i also make at t

  1   2   3   >