On Oct 13, 2012, at 6:58 AM, [email protected] wrote:
> Today's Topic Summary > Group: http://groups.google.com/group/django-users/topics > > A fun little Django project [Robert Steckroth] [1 Update] > User can't edit model even after permissions are issued [1 Update] > User can't edit anything [1 Update] > get_or_create gave IntegrityError: (1062, "Duplicate entry) error sometimes > [2 Updates] > perfectionists... motto doesn't fit [3 Updates] > Facebook like button in django [3 Updates] > Create table and load data [5 Updates] > django multi db routing doesnt work wich multiple schemas [7 Updates] > Unhandled exception during validation [3 Updates] > "Writing your first Django app" Tutorial Question [2 Updates] > Image/Photo app [3 Updates] > A fun little Django project [Robert Steckroth] > Robert Steckroth <[email protected]> Oct 12 11:57PM -0400 > > Hey Gang, I have got my project up on Bitbucket --> > https://bitbucket.org/surgemcgee/django_template3d > It is a fun Django Project with some nice features. It is simple to > get up in going and ...more > User can't edit model even after permissions are issued > Shawn H <[email protected]> Oct 12 01:52PM -0700 > > I'm new to Django, and I'm using the admin site to manage my users. I have > one app installed, and it has one model. I created a new user, issued that > user add, change, and delete privileges (as ...more > User can't edit anything > Shawn H <[email protected]> Oct 12 02:02PM -0700 > > I'm new to django, and using the admin site for user management. I've > created a new user, issued app | model | permission of add, change, and > delete to this user for the app I've built, but when ...more > get_or_create gave IntegrityError: (1062, "Duplicate entry) error sometimes > Zheng Li <[email protected]> Oct 13 10:47AM +0900 > > class AB(models.Model): > a = models.ForeignKey(A) > b = models.ForeignKey(B) > c = models.IntegerField(default=0) > d = models.FloatField(default=0) ...more > Wei Wei <[email protected]> Oct 13 10:06AM +0800 > > I am new to Django. But does the error message literally mean you have > duplicated records against your unique_together constriction? > > ...more > perfectionists... motto doesn't fit > "Cal Leeming [Simplicity Media Ltd]" <[email protected]> > Oct 12 03:30PM +0100 > > On Fri, Oct 12, 2012 at 1:55 PM, Russell Keith-Magee < > > "what defines a perfectionist" is in no way on-topic for django-users, > > and has all sorts of potential to end up in bad places, I have no ...more > bobhaugen <[email protected]> Oct 12 08:03AM -0700 > > On Friday, October 12, 2012 7:56:52 AM UTC-5, Russell Keith-Magee wrote: > > > "what defines a perfectionist" is in no way on-topic for django-users, > > and has all sorts of potential to end up in bad ...more > Russell Keith-Magee <[email protected]> Oct 13 08:39AM +0800 > > > > I really appreciate the way you moderate the forum. The civility and > > helpfulness of the community was one of the main reasons I picked Django a > > few years ago. > > You're most welcome. > ...more > Facebook like button in django > David Gomez <[email protected]> Oct 12 06:44AM -0700 > > I want to create a website facebook like, but real simple and I want to > have a button that I can give to blogger to add them on their blog entries. > It have nothing to do with facebook. > ...more > Tomas Neme <[email protected]> Oct 12 10:55AM -0300 > > > I want to create a website facebook like, but real simple and I want to have > > a button that I can give to blogger to add them on their blog entries. It > > have nothing to do with facebook. > ...more > "Mr. Gerardo Gonzalez Cruz" <[email protected]> Oct 12 04:32PM -0500 > > Yeah it's true. You need Javascript to make this work. There is a jquery > plugins for that thing. In a few words you need Javascript and DOM and > maybe some css for styling no more!!!. > > > ...more > Create table and load data > Larry Martell <[email protected]> Oct 12 12:09PM -0600 > > >> <http://pypi.python.org/pypi/PyYAML>. > > >> [1] > >> <https://docs.djangoproject.com/en/1.4/topics/serialization/#serialization-formats> > > > Thanks! Didn't see that. > > So my client decided to use xml. ...more > Kurtis Mullins <[email protected]> Oct 12 02:22PM -0400 > > > > manage.py loaddata fixtures/initial_data.xml > > > That worked. Anyone have any ideas why sycndb worked on my mashine, > > but it's not working on theirs? > > > That's very weird. I haven't seen that ...more > Larry Martell <[email protected]> Oct 12 01:30PM -0600 > > On Fri, Oct 12, 2012 at 12:22 PM, Kurtis Mullins > > for inconsistencies or issues with the .xml file itself. Hopefully someone > > else who has ran into this problem before can chime in and offer some > > ...more > Kurtis Mullins <[email protected]> Oct 12 04:24PM -0400 > > Good luck to you! The code is here if you want to start crawling through it > for a good point to place a breakpoint: ...more > Kurtis Mullins <[email protected]> Oct 12 04:25PM -0400 > > Whoops, sorry that was the master branch. Here you go: > https://github.com/django/django/blob/1.4.1/django/core/management/commands/syncdb.py > > ...more > django multi db routing doesnt work wich multiple schemas > mnowotka <[email protected]> Oct 12 08:54AM -0700 > > I have django running on oracle backend. I need to use two schemas - one > for a legacy DB, second one for all django related tables. > > So this is my settings.DATABASES: > > DATABASES = { > ...more > Tom Evans <[email protected]> Oct 12 05:16PM +0100 > > > b = len(a) > > b = a[0] > > c = b.artist > > You can't have relationships between models stored in different databases. > > What happens when you define such an invalid relationship and follow ...more > "Michał Nowotka" <[email protected]> Oct 12 05:19PM +0100 > > First of all the error is not from django but from database. > Secondly I'm not using different databases but different schemas so > relations are possible. > The error has nothing to do with foreign key ...more > Tomas Ehrlich <[email protected]> Oct 12 07:24PM +0200 > > Hi Michał, > is "schema" the same as thing as "tablespace"? If so, you should define them > using > db_tablespace meta keyword. > https://docs.djangoproject.com/en/1.4/topics/db/tablespaces/ > ...more > "Tomáš Ehrlich" <[email protected]> Oct 12 10:38AM -0700 > > Sorry, I've just found that schema != tablespace, so my last response is > irelevant... > > Cheers, > Tom > > Dne pátek, 12. října 2012 19:26:53 UTC+2 Tomáš Ehrlich napsal(a): > ...more > "Michał Nowotka" <[email protected]> Oct 12 06:41PM +0100 > > Unfortunately not exactly. > Schema in Oracle is a synonym of user so you need name and password. > That's why it doesn't fit into tablespaces solution you pointed. > There is open ticket about support ...more > "Michał Nowotka" <[email protected]> Oct 12 06:56PM +0100 > > Anyway, look at the query that needs to be executed. This doesn't > contain any joins. The only problem is that this perfectly correct > query is send to wrong schema although the router suggests a good ...more > Unhandled exception during validation > "Tomáš Ehrlich" <[email protected]> Oct 12 08:45AM -0700 > > Hello Oyvind, > that's weird, Django (or Python in general) usually provide very long and > descriptive trackback. > > Could you please provide more information? What version of Python do you > ...more > Tom Evans <[email protected]> Oct 12 05:00PM +0100 > > > guess… > > > Cheers, > > Tom > > I think you've misunderstood the OP, the error occurs in Django's > AppCache, which is populated when you start django in any manner (even > going to the shell). ...more > Tomas Ehrlich <[email protected]> Oct 12 07:18PM +0200 > > Well, in this case, I don't see problem in erroritself (that happens). > I see problem in missing trackback (that's not usual). My assuption was > that "something" suppress it (don't know if it's ...more > "Writing your first Django app" Tutorial Question > "Jan Bednařík" <[email protected]> Oct 12 03:16PM +0200 > > Hi, > > model Choice is related to model Poll by ForeignKey. All Choice > objects related to specific Poll object can by returned by: > > my_poll.choice_set.all() > > And that is happening in the template ...more > "Tomáš Ehrlich" <[email protected]> Oct 12 08:39AM -0700 > > Hi Stefano, > your understanding is incorrect. Django (neither Python) doesn't load (or > import) anything by himself. Everything what you import is everything what > you get. There are few exceptions, ...more > Image/Photo app > Thomas Guettler <[email protected]> Oct 12 04:32PM +0200 > > I have 40k photos (jpg) on my ubuntu PC and want to share them with my > friends and > family. > > I searched for a django app which can sync with a local application like > digikam or shotwell. But none ...more > Kurtis Mullins <[email protected]> Oct 12 10:41AM -0400 > > Hey Thomas, > > I'm not sure if you're on a deadline or what-not; but these are usually the > kinds of apps I develop (personally) for fun. For example, you can extend > your code-base to scan the images ...more > Javier Guerra Giraldez <[email protected]> Oct 12 09:50AM -0500 > > On Fri, Oct 12, 2012 at 9:41 AM, Kurtis Mullins > > use the tags created by the GUI application. If you can figure out how to > > get ahold of that data and parse it, then I'm sure it wouldn't be too > > ...more > You received this message because you are subscribed to the Google Group > django-users. > You can post via email. > To unsubscribe from this group, send an empty message. > For more options, visit this group. > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

