Re: The problem of versioning a large project.

2023-04-08 Thread Christian González
r case. So you need either a mono repo, or git submodules that need to be fetched. I solved a similar problem by building a library that adds such a plugin support to Django: https://gdaps.readthedocs.io You can use a Django main application, and install app "plugins" that add fu

Re: The problem of versioning a large project.

2023-04-04 Thread Piyush Prasad
Why not use a mono repo? From: django-developers@googlegroups.com on behalf of Alex Sonar Sent: Sunday, April 2, 2023 10:21:33 PM To: Django developers (Contributions to Django itself) Subject: Re: The problem of versioning a large project. It is about one

Re: The problem of versioning a large project.

2023-04-03 Thread John Whitlock
sed or semantic versioning. It sounds like you are talking about code repository organization, and how to integrate the work of several apps or teams. In my experience, this is a people and process problem first, and a code issue second or third. My first advice would be to abandon a git repo per

Re: The problem of versioning a large project.

2023-04-02 Thread Alex Sonar
t; Like Aharon, I'm not entirely certain what you mean but this line: >> > The task looks like bad practice, where we have to create a repository >> within another one. >> reminded me of git submodules, which I don't think are considered bad >> practice. Is

Re: The problem of versioning a large project.

2023-04-01 Thread Jason Johns
k are considered bad > practice. Is that what you mean? > On Thursday, March 30, 2023 at 5:17:41 AM UTC+9 Alex Sonar wrote: > >> The problem of versioning a large project. >> >> Hi guys, I really got stuck with the challenge, with the design of >> versioning f

Re: The problem of versioning a large project.

2023-03-31 Thread cha...@gmail.com
30, 2023 at 5:17:41 AM UTC+9 Alex Sonar wrote: > The problem of versioning a large project. > > Hi guys, I really got stuck with the challenge, with the design of > versioning for a large project. > > Now we have organized versioning, where our project is divided into > s

Re: The problem of versioning a large project.

2023-03-30 Thread Aharon Leibman
Could you give more information, please? the project structure provided to your GIT repository It is not entirely clear how you perform separation by application среда, 29 марта 2023 г. в 23:17:41 UTC+3, Alex Sonar: > The problem of versioning a large project. > > Hi guys, I really

The problem of versioning a large project.

2023-03-29 Thread Alex Sonar
The problem of versioning a large project. Hi guys, I really got stuck with the challenge, with the design of versioning for a large project. Now we have organized versioning, where our project is divided into separate GIT repositories which are created for each application. The new

Reopen ticket #32088, django.contrib.sessions, get_expiry_date() func problem

2022-01-22 Thread ahmad khalili
* Confusing return value in SessionStore('some_session') .get_expiry_date(), example:* from datetime import datetime from django.contrib.sessions.backends.db import SessionStore my_session = SessionStore() my_session.get_expiry_date() # this return new created sessions expiration time(14 days

Re: Pychram Problem

2021-07-24 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
asy for them to answer. Thanks for your understanding and all the best, Adam On Sat, 24 Jul 2021 at 07:28, Mahendra wrote: > Hi , > I have installed pycharm it can be showing 30 days left but immediately > license has expired how could solve this problem? > > Mahendra Yadav >

Pychram Problem

2021-07-24 Thread Mahendra
Hi , I have installed pycharm it can be showing 30 days left but immediately license has expired how could solve this problem? Mahendra Yadav -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: CSV row delete problem(using pandas)

2019-10-11 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer yo

CSV row delete problem(using pandas)

2019-10-08 Thread Jordan Micle
I am going to delete row from csv but I got this error KeyError at /tools/universe/delete_instrument/ "['3'] not found in axis" views.py instrument = request.POST.get("symbol") universe_id = request.POST.get("id") universe = get_object_or_404(Universe_Universe, id=universe_id)

Re: PROBLEM

2018-12-05 Thread Carlton Gibson
Hi David, This group is for "Contributions to Django itself". You need to head over to Django Users for support questions. (But it looks like you didn't save your urls.py — the `polls/` route isn't shown as being searched.) Good luck!

PROBLEM

2018-12-05 Thread David Figueroa
In creating my first django project- I'm trying to create my first application (polls) through a view as shown below. I'm finding the error shown in the image in the Annex. can anybody help me? I'm following the step-by-step suggested in ( https://docs.djangoproject.com/pt-br/1.11/intro/tutorial01

Re: please help me i am trying to solve it from 5 days but still did not get the solution so please help me here is problem

2018-04-15 Thread Tom Forbes
This mailing list is for the development of Django itself, not for support. Use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow. On 15 April 2018 at 14:53:50, rahul verma (rahulverma6...@gmail.com) wrote: https://github.com/rahul6612/flying-stor

please help me i am trying to solve it from 5 days but still did not get the solution so please help me here is problem

2018-04-15 Thread rahul verma
https://github.com/rahul6612/flying-store/issues/1? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsu

Re: Problem in makemigration

2018-03-20 Thread utpalbrahma1995
sorry sir. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this

Re: Problem in makemigration

2018-03-20 Thread Adam Johnson
This mailing list is for the development of Django itself, not for support. Use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow. On 20 March 2018 at 13:26, wrote: > Django is unable to detect new changes i have made in my models.py.I even > delet

Problem in makemigration

2018-03-20 Thread utpalbrahma1995
Django is unable to detect new changes i have made in my models.py.I even deleted my database What is the solution? -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop r

Re: Problem with running tests with mysql database.

2017-03-11 Thread Josh Smeaton
If you're having issues with specific environments and configuring all of the dependencies, you can try using https://github.com/django/django-box which is a Vagrant virtual machine running on Virtualbox. It has postgres, mysql, sqlite, and all of the pythons Django uses for testing. You could

Re: Problem with running tests with mysql database.

2017-03-11 Thread Adam Johnson
For the lock wait timeout errors, it's probable something (another test run?) is still connected to the database and holding the locks. Try restarting mysql. And if you are still having problems, knowing the version of MySQL you're using, plus how you installed it, would be helpful. On 10 March 2

Re: Problem with running tests with mysql database.

2017-03-10 Thread Tim Graham
For the error, "Database returned an invalid datetime value. Are time zone definitions for your database installed?", see https://docs.djangoproject.com/en/dev/ref/databases/#time-zone-definitions. Adding this to the 'default' and 'other' dictionaries in DATABASES may solve some of the encoding

Problem with running tests with mysql database.

2017-03-10 Thread Anton Samarchyan
I have a pull request in which some tests for some of environments are failing. (it's fine for the default tests with sqlite and some others) - https://github.com/django/django/pull/7994 Now, I am trying to run the tests with the database set to mysql. I added a file settings_mysql.py which

Re: Problem UnicodeDecodeError when run createsuperuser

2017-02-05 Thread Florian Apolloner
Please show the output of the locale command and your full settings. On Saturday, February 4, 2017 at 10:58:28 PM UTC+1, Lucas Simon Rodrigues Magalhaes wrote: > > Hello everyone, > > I have a problem when run createsuperuser.py command in python 3.4. How > can I solve it defin

Re: Problem UnicodeDecodeError when run createsuperuser

2017-02-05 Thread Bhanu jamwal
or see indentation error On Sunday, February 5, 2017 at 3:28:28 AM UTC+5:30, Lucas Simon Rodrigues Magalhaes wrote: > > Hello everyone, > > I have a problem when run createsuperuser.py command in python 3.4. How > can I solve it definitely? > > Look the code: > &

Problem UnicodeDecodeError when run createsuperuser

2017-02-04 Thread Lucas Simon Rodrigues Magalhaes
Hello everyone, I have a problem when run createsuperuser.py command in python 3.4. How can I solve it definitely? Look the code: https://gist.github.com/lucassimon/7837dce442e3a4a090ce4d155b4a2035 -- You received this message because you are subscribed to the Google Groups "D

Re: Problem with caching template loader

2016-07-07 Thread Preston Timmons
Yep, that looks wrong. Looks like it was added in this commit: https://github.com/django/django/commit/f33db5a09acfc3df3085235a5712c46094eb9a0d The test case could be improved also by checking the appropriate key is set. Preston -- You received this message because you are subscribed to the Go

Problem with caching template loader

2016-07-07 Thread Curtis Maloney
Hey, a client of mine was having a strange bug with the caching template loader, which we've yet to identify, but as I was looking at the code, I saw the following: def load_template(self, template_name, template_dirs=None): key = self.cache_key(template_name, template_dirs)

Re: I have a problem when linking two urls

2016-03-29 Thread Tim Graham
home > > page i have a "create prescription" button and when i press it it says > ERROR > > page not found. > > So the only problem i have is that when i press "create prescription" > from > > the home page it doesn;t show me the page. > &

Re: I have a problem when linking two urls

2016-03-29 Thread ludovic coues
ge and the register. After the user logs in on the home > page i have a "create prescription" button and when i press it it says ERROR > page not found. > So the only problem i have is that when i press "create prescription" from > the home page it doesn;t show me

I have a problem when linking two urls

2016-03-29 Thread Cristina Elena Stan
Hello! I make the login page and the register. After the user logs in on the home page i have a "create prescription" button and when i press it it says ERROR page not found. So the only problem i have is that when i press "create prescription" from the home page it does

Re: How to extend admin/user to adapt it to my business problem

2016-03-14 Thread Aymeric Augustin
Could you ask usage questions on the django-users mailing list? This mailing list, django-developers, is for the development of Django itself. -- Aymeric. PS: read about custom user models in the docs. > On 14 Mar 2016, at 18:15, iherr...@nauta.cu wrote: > > I have to save other information o

How to extend admin/user to adapt it to my business problem

2016-03-14 Thread iherrera
I have to save other information of users but i want to use the users that are created in the admin in django how can i do that ?? i am sorry if this is a basic question but i am a beginner in django -- You received this message because you are subscribed to the Google Groups "Django develo

Re: Help needed with the MySQL max index length problem for Django 1.10

2016-01-04 Thread Adam Johnson
This has always been an error on MySQL afaik, it would allow broken data integrity if it were just a warning. Moving the length below 191 does seem to be the safest fix. On Wednesday, December 30, 2015 at 1:52:27 PM UTC, Collin Anderson wrote: > > I think mysql used to just give a warning and ma

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-30 Thread Collin Anderson
I think mysql used to just give a warning and maybe now it's an error? It can currently be reproduced with just a blank project (using django master, mysql 5.5.46-0ubuntu0.14.04.2): mysql -e'create database mb4test charset utf8mb4' django-admin startproject mb4test cd mb4test vi mb4test/settings.p

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-30 Thread Florian Apolloner
On Monday, December 21, 2015 at 5:32:43 PM UTC+1, Tim Graham wrote: > > "This patch breaks on MySQL installations using the utf8mb4 charset, > because it breaks the index length limit - it comes out at a maximum of 254 > * 4 = 1016 bytes whilst by default InnoDB can only index 767 bytes. I foun

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-29 Thread Collin Anderson
Though wouldn't mind 180 either. On Tue, Dec 29, 2015 at 2:55 PM, Collin Anderson wrote: > I propose 150 to err on the longer side: > https://github.com/django/django/pull/5891 > > On Tuesday, December 29, 2015 at 5:28:01 AM UTC-5, Aymeric Augustin wrote: >> >> At that point, I'd prefer picking

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-29 Thread Collin Anderson
I propose 150 to err on the longer side: https://github.com/django/django/pull/5891 On Tuesday, December 29, 2015 at 5:28:01 AM UTC-5, Aymeric Augustin wrote: > > At that point, I'd prefer picking an arbitrary length that makes sense for > the underlying data rather than one based on MySQL's cur

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-29 Thread Aymeric Augustin
At that point, I'd prefer picking an arbitrary length that makes sense for the underlying data rather than one based on MySQL's current limitations. Name length sounds like an reasonable proxy for username length. A quick Google search turns up http://www.historyrundown.com/top-5-people-with-the-l

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-28 Thread Tim Graham
Ugh, I guess I'm in favor of max_length=191. It'll just be awkward to explain that one in the docs. On Monday, December 28, 2015 at 3:27:23 PM UTC-5, Collin Anderson wrote: > > Hi All, > > I finally looked at this more today. I started working on the INDEX > (col1(191)) solution from #18392, but

Re: Help needed with the MySQL max index length problem for Django 1.10

2015-12-28 Thread Collin Anderson
Hi All, I finally looked at this more today. I started working on the INDEX (col1(191)) solution from #18392, but unfortunately I don't think we can use that solution in this case because it's a UNIQUE index. (I still think it's best solution for non-unique indexes.) I think these are our options

Help needed with the MySQL max index length problem for Django 1.10

2015-12-21 Thread Tim Graham
I merged the often requested increase of User.username max_length to 254 characters [1] a few weeks ago, however, the ticket was reopened pointing out this issue: "This patch breaks on MySQL installations using the utf8mb4 charset, because it breaks the index length limit - it comes out at a m

Re: URL matching problem

2015-03-24 Thread Ma Yuping
Actually: In my project url, I have: urlpatterns = patterns('', url(r'^blog/', include('blog.urls', namespace="blog")), ) In the App, I have: urlpatterns = patterns('', #url(r'/$', views.index, name='index'), url(r'(?P\d+)/$', views.index, name='index'), url(r'(?P\d+)/article/(?P\d+)/$', v

Re: URL matching problem

2015-03-24 Thread Ma Yuping
It solved. It should be exact: I should put '^' before the APP's URL. url(r'^(?P\d+)/$', views.index, name='index'), url(r'^(?P\d+)/article/(?P\d+)/$', views.article, name='article'), Thanks 在 2015年3月24日星期二 UTC+8上午10:45:33,Curtis Maloney写道: > > Firstly, this is really a question for django

Re: URL matching problem

2015-03-23 Thread Curtis Maloney
Firstly, this is really a question for django-users ... this mailing list is for discussion of the development _of_ Django, not _with_ Django. On 24 March 2015 at 13:16, Ma Yuping wrote: > django V1.6.8 > > Let URL be: > > url(r'^blog/(?P\d+)/$', views.index, name='index'), > > url(r'^blog/(?P\d

URL matching problem

2015-03-23 Thread Ma Yuping
django V1.6.8 Let URL be: url(r'^blog/(?P\d+)/$', views.index, name='index'), url(r'^blog/(?P\d+)/article/(?P\d+)/view/$', views.article, name='article'), Input following urls to the the browser: blog/1/ blog/1/1/ blog/1/article/1/ blog/1/1/1/1/article/1/1/1/1/ blog/bb/1/1/1/ ... They

Re: Django's problem with db-level defaults on Oracle

2014-11-01 Thread Shai Berger
On Saturday 01 November 2014 11:55:26 Kääriäinen Anssi wrote: > Quick question: could django set the default to to_date('2014-31-01', > '-mm-dd')? Yes, apparently we could, and it would solve the problem I described earlier, thanks. If we decide to start using defau

RE: Django's problem with db-level defaults on Oracle

2014-11-01 Thread Kääriäinen Anssi
014 17:34 To: django-developers@googlegroups.com Subject: Django's problem with db-level defaults on Oracle Hi Everyone, I just mentioned in another thread that db-level defaults are particularly troublesome on Oracle. I didn't want to burden that discussion with the detais, but hav

Django's problem with db-level defaults on Oracle

2014-10-31 Thread Shai Berger
Hi Everyone, I just mentioned in another thread that db-level defaults are particularly troublesome on Oracle. I didn't want to burden that discussion with the detais, but having been asked about it on IRC (thanks Josh), here they are. The problem is caused by a combination of factor

Re: Models inside test folder - Django 1.7 problem

2014-09-04 Thread Carl Meyer
On 09/04/2014 08:53 AM, galozek wrote: > I'm trying to port my project to Django 1.7. Every goes fine except 1 > problem with an abstract model testing. > Django 1.7 runs migrate command while testing. That means models not > included in migrations are omitted. That's the iss

Models inside test folder - Django 1.7 problem

2014-09-04 Thread galozek
Hi, I'm trying to port my project to Django 1.7. Every goes fine except 1 problem with an abstract model testing. Django 1.7 runs migrate command while testing. That means models not included in migrations are omitted. That's the issue I've got. What I do in my /app/tests/ dir

Re: Problem with profile picture and mysql. URGENT !!

2014-08-08 Thread Tim Graham
This mailing list is for the development of Django. Please direct questions about how to use Django to the django-users mailing list. On Friday, August 8, 2014 12:41:52 AM UTC-4, Swathi Rajanna wrote: > > My app does not use South as it keeps giving me django.core.management > Improperly Configu

Problem with profile picture and mysql. URGENT !!

2014-08-08 Thread Swathi Rajanna
My app does not use South as it keeps giving me django.core.management Improperly Configured error. Hence I have to do syncdb every time. But recently I wanted to add an image element to the previously created class in models.py but it keeps giving me unknown element image in field list. I trie

Re: Problem migrating from South to Django migrations for Linux distributions

2014-07-25 Thread Raphael Hertzog
Hi Brian, On Fri, 25 Jul 2014, Brian May wrote: > I can't help but think this might be unrealistic (?). Changes required for > new versions of Django often break compatibility with old versions, and > 1.4.5 is really old now. Just because many packages don't have versioned > dependencies on Django

Re: Problem migrating from South to Django migrations for Linux distributions

2014-07-25 Thread Raphael Hertzog
t porting > South 1.x up to it would be a very large amount of work. OK. > Also, what are the applications in particular that this will be a problem > for? I'm curious to know what Django + South things Debian is shipping > these days. Applications that depend on South and have diff

Re: Problem migrating from South to Django migrations for Linux distributions

2014-07-24 Thread Andrew Godwin
gration mode (which won't destroy any tables, but will fail to apply any table alterations). Also, what are the applications in particular that this will be a problem for? I'm curious to know what Django + South things Debian is shipping these days. Andrew On Thu, Jul 24, 2014

Re: Problem migrating from South to Django migrations for Linux distributions

2014-07-24 Thread Michael Manfre
On Thu, Jul 24, 2014 at 4:44 PM, Joseph Curtin <4...@jbcurtin.io> wrote: > > My question now would be, can django migrations and south migrations > co-exist and can I turn off django migrations? > No, migrations is a required feature of Django and cannot be turned off. The best you could do is gene

Re: Problem migrating from South to Django migrations for Linux distributions

2014-07-24 Thread Joseph Curtin
Normally, in development with south. If the migrations get to the point were they're out of sync. The lead Dev removed the conflicting migrations and runs the schema migration command. As for the django 1.7 flow of migrations, I cannot comment on it, but I would go into this problem wit

Problem migrating from South to Django migrations for Linux distributions

2014-07-24 Thread Raphael Hertzog
[ Please keep me in CC ] Hello, I'm one of the python-django Debian package maintainers and I have been working on preparing the field for Django 1.7... and we have one problem that we don't know how to handle. Consider that Debian contains Django but also Django applications using S

Re: Problem in doing Calcultion in django Application

2014-06-18 Thread Daniele Procida
On Wed, Jun 18, 2014, Muskan arora wrote: >I have a problem in calculating Sum. > my models.py is as follows :- You'll get answers to your questions on the django-users email list, - the web interface is <https://groups.google.com/forum/#!forum/django-users>. The list yo

Problem in doing Calcultion in django Application

2014-06-18 Thread Muskan arora
I have a problem in calculating Sum. my models.py is as follows :- class Book(models.Model): book_text = models.CharField(max_length=200) price = models.IntegerField(default=0) tax = models.DecimalField(max_digits=10, decimal_places=2) class Author(models.Model): book

Re: Solving the select+1 problem.

2014-06-11 Thread Stratos Moros
Jonathan Slenders < jonathan.slend...@gmail.com> wrote: The "select+1" problem is a problem that people often face in Django. Usually, something like select_related solves it, but I don't think that's always possible. Facebook released Haxl today and there's an example o

Re: Solving the select+1 problem.

2014-06-11 Thread Alex Gaynor
> > > On Wed, Jun 11, 2014 at 6:15 AM, Jonathan Slenders < > jonathan.slend...@gmail.com> wrote: > >> The "select+1" problem is a problem that people often face in Django. >> Usually, something like select_related solves it, but I don't think >>

Re: Solving the select+1 problem.

2014-06-11 Thread Jacob Kaplan-Moss
The "select+1" problem is a problem that people often face in Django. > Usually, something like select_related solves it, but I don't think that's > always possible. > > Facebook released Haxl today and there's an example of their apprach to > the problem. > https

Solving the select+1 problem.

2014-06-11 Thread Jonathan Slenders
The "select+1" problem is a problem that people often face in Django. Usually, something like select_related solves it, but I don't think that's always possible. Facebook released Haxl today and there's an example of their apprach to the problem. https://github.com/

Re: problem with testing for DeprecationWarning

2014-03-01 Thread Aymeric Augustin
On 1 mars 2014, at 10:51, Erik Romijn wrote: > Curiously, when I run this test independently, or when I run utils_tests > independently, this test succeeds. Perhaps there is some interaction with > other tests in the suite? If that's the problem, ./runtests.py --bisect utils_tes

problem with testing for DeprecationWarning

2014-03-01 Thread Erik Romijn
e-fix-ampersands?expand=1#diff-adcabff46f848a5dece079381c6d9485R134 I've mostly looked at existing tests for deprecation for my modifications of this one - perhaps there's something I've overlooked that might cause my problem. If anyone could have a look, it would be much apprec

Re: Problem with number format when not using L10N

2013-12-20 Thread Yonel Ceruto González
In conclusion one could say that if USE_L10N is not True then no thousands separator is displayed, of course, only thru the configuration of django. El viernes, 20 de diciembre de 2013 08:15:58 UTC-5, Yonel Ceruto González escribió: > > Ok no problem, > > Although the document

Re: Problem with number format when not using L10N

2013-12-20 Thread Yonel Ceruto González
Ok no problem, Although the documentation may be inconsistent, I think the comment https://code.djangoproject.com/ticket/21544 # comment: 8, discloses a particular case where I customize the THOUSAND_SEPARATOR with USE_L10N = False. This is the source of my problem, because he expects to see

Re: Problem with number format when not using L10N

2013-12-19 Thread Curtis Maloney
I recall helping someone on #django with something similar to this, where the documentation, logical expectations and actual code went in rather different directions. There was a condition where despite the setting being observed at one layer, a lower layer then went and ignored it anyway... will

Re: Problem with number format when not using L10N

2013-12-19 Thread Shai Berger
Hi, On Thursday 19 December 2013 05:25:11 Yonel Ceruto González wrote: > Forgive me if at some point was arrogant, it was not my intention to impose > my judgment or criticize, for me, the best framework that exists. Maybe I > was not regarded with good intentions and therefore I believe the answe

Re: Problem with number format when not using L10N

2013-12-19 Thread Yonel Ceruto González
, beg a thousand pardons. The truth is that my problem is not yet solved and the ticket was closed. Later I will address the problem and my suggestion otherwise. For now, thank you, Best Regards El martes, 3 de diciembre de 2013 11:37:28 UTC-5, Claude Paroz escribió: > > This is the to

Re: Wizard problem

2013-12-12 Thread Russell Keith-Magee
Hi Olga, Yes - this is off topic. Django-developers isn't "second tier help" - it's a discussion forum for those developing Django itself. I'm sorry you haven't received a response on django-users; unfortunately, that's going to happen in a volunteer community. Yours, Russ Magee %-) On Thu, Dec

Wizard problem

2013-12-12 Thread Olga Burdonova
Sorry for off-top.. Can someone look into this topic please? (Users group) Not clear how it works, looks like bug .. https://groups.google.com/forum/#!topic/django-users/LAa1tohvpC8 Actually, someone who understands how "*django.contrib.formtools.wizard*" works. -- You received this message

Re: Problem with number format when not using L10N

2013-12-03 Thread Yonel Ceruto González
It is understood that if I have enabled the thousands separator USE_THOUSAND_SEPARATOR = True and NUMBER_GROUPING > 0 to display all numbers with the pattern: #THOUSAND_SEPARATOR###DECIMAL_SEPARATOR## If is enabled or not USE_L10N only determines the "values" of DECIMAL_SEPARATOR and THOUS

Re: Problem with number format when not using L10N

2013-12-03 Thread Claude Paroz
This is the topic of https://code.djangoproject.com/ticket/21544 where you can read my position. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-dev

Re: Problem with number format when not using L10N

2013-12-03 Thread Yonel Ceruto González
I think the configuration of the variable USE_L10N aims at in this case, determine the format of number and not condition the use of the grouping of thousands. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group

Re: Problem with number format when not using L10N

2013-12-03 Thread Yonel Ceruto González
Rectify the frontline: I want to use the grouping of thousands in my numeric formats, for which I use the "floatformat" filter. El martes, 3 de diciembre de 2013 08:13:21 UTC-5, Yonel Ceruto González escribió: > > Deseo usar la agrupación de millares en mis formatos numéricos, for which > I

Problem with number format when not using L10N

2013-12-03 Thread Yonel Ceruto González
Deseo usar la agrupación de millares en mis formatos numéricos, for which I use the "floatformat" filter. My configuration in "settings.py" is: USE_L10N = False USE_THOUSAND_SEPARATOR = True NUMBER_GROUPING = 3 Showing my numbers without the grouping of thousands. When I check in depth why

Re: Problem with creating a one-to-one instance

2013-04-19 Thread Carsten Fuchs
Hi Jacob, hi Florian, Am 19.04.2013 18:18, schrieb Jacob Kaplan-Moss: Unfortunately, we can't help you. Django-developers isn't a "second level" for django-users; they're completely different lists. The purpose of this list is to discuss the development of Django itself, not answer user question

Re: Problem with creating a one-to-one instance

2013-04-19 Thread Florian Apolloner
Hi Carsten, first of all, django-dev is not a second level support list, so for the future please refrain from posting here just because you get no answer on the user list. As for the issue on hand, try accessing ma.vbp_id after you assign the instance, this should give you some clues. Cheers,

Re: Problem with creating a one-to-one instance

2013-04-19 Thread Jacob Kaplan-Moss
Hi Carsten - On Fri, Apr 19, 2013 at 10:43 AM, Carsten Fuchs wrote: > sorry to bother you here, but I posted to django-users first > (https://groups.google.com/d/msg/django-users/WHnCxHkEVjE/9puR4youvwsJ) and > there was no reply, so please let me re-try here: Unfortunately, we can't help you. D

Problem with creating a one-to-one instance

2013-04-19 Thread Carsten Fuchs
Dear Django devs, sorry to bother you here, but I posted to django-users first (https://groups.google.com/d/msg/django-users/WHnCxHkEVjE/9puR4youvwsJ) and there was no reply, so please let me re-try here: I'm probably overlooking something very simple, but still cannot explain what the code be

Re: PROBLEM WITH MY CUSTOMIZED save() method

2013-02-16 Thread Karen Tracey
Please ask questions about using Django on django-users. This list is for the discussion of developing Django itself. Thanks, Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fr

PROBLEM WITH MY CUSTOMIZED save() method

2013-02-16 Thread francis lutalo
Hello, I want to calculate cashflow in my application. I have a cashflow model shown below. My problem is with the save method. I want on clicking save in the django admin, the list display should include all the different amounts from invoices, receipts and expenses. However, for cases where

Re: Problem with Custom Manage.py command and Crontab

2013-02-06 Thread Karen Tracey
Please ask questions about using Django on django-users. The topic of this list is the development of Django itself. Thanks, Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails fro

Problem with Custom Manage.py command and Crontab

2013-02-06 Thread Jesús Lucas Flores
Hey guys, I need a little bit help with a custom manage.py command called *test* I am using it in a virtualenv on a shell script *script.sh*, if i execute *python manage.py script.sh * All is OK, but if the script is on the crontab give a *Unknown command: 'test'* . Here is the code: htt

Fwd: a problem when PATH_INFO == SCRIPT_NAME

2012-05-28 Thread heng zhao
-- Forwarded message -- From: heng zhao Date: Mon, May 28, 2012 at 3:09 PM Subject: Re: a problem when PATH_INFO == SCRIPT_NAME To: django-us...@googlegroups.com I read the comment in  https://code.djangoproject.com/ticket/8490,  I found someone met the same problem 3years ago

Re: Small problem with HttpResponseRedirect

2011-12-07 Thread Cal Leeming [Simplicity Media Ltd]
After reading all the comments, I now completely agree that Django is doing the right thing and it falls onto the user to do sanity checking. Always helps to have another set of eyes, so thank you to everyone who took time to post their thoughts! Cal On Tue, Dec 6, 2011 at 7:54 AM, Paul McMillan

Re: Small problem with HttpResponseRedirect

2011-12-05 Thread Paul McMillan
As Ian said, Django does the right thing here according to my tests too, and generates the absolute URIs required by RFC 2616. If you've figured out some way to actually get location headers that are noncompliant, that would be a bug, but the handling of // is correct. -Paul -- You received this

Re: Small problem with HttpResponseRedirect

2011-12-05 Thread Ian Clelland
On Mon, Dec 5, 2011 at 2:00 PM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Not sure if this should have a bug ticket raised or not.. wanted to get > core devs thoughts. > > > _redir = "//your/path/with/an/extra/slash/for/whatever/reason" > HttpResponseRedir

Re: Small problem with HttpResponseRedirect

2011-12-05 Thread Yaşar Arabacı
To be more spesific: "Following the syntax specifications in *RFC 1808*, urlparse recognizes a netloc only if it is properly introduced by '//'. Otherwise the input is presumed to be a relative URL and thus to start with a path component." 6 Aralık 2011 04

Re: Small problem with HttpResponseRedirect

2011-12-05 Thread Yaşar Arabacı
Maybe this is about second example in here: http://docs.python.org/library/urlparse.html#urlparse.urlparse ? 2011/12/6 Luciano Pacheco > On Tue, Dec 6, 2011 at 9:00 AM, Cal Leeming [Simplicity Media Ltd] < > cal.leem...@simplicitymedialtd.co.uk> wrote: > >> Not sure if this should have a bug tic

Re: Small problem with HttpResponseRedirect

2011-12-05 Thread Luciano Pacheco
On Tue, Dec 6, 2011 at 9:00 AM, Cal Leeming [Simplicity Media Ltd] < cal.leem...@simplicitymedialtd.co.uk> wrote: > Not sure if this should have a bug ticket raised or not.. wanted to get > core devs thoughts. > > > _redir = "//your/path/with/an/extra/slash/for/whatever/reason" > HttpResponseRedir

Re: Small problem with HttpResponseRedirect

2011-12-05 Thread Adrian Holovaty
On Mon, Dec 5, 2011 at 4:00 PM, Cal Leeming [Simplicity Media Ltd] wrote: > _redir = "//your/path/with/an/extra/slash/for/whatever/reason" > HttpResponseRedirect(_redir) > returns "Location: http://your/path/with/an/extra/slash/for/whatever/reason"; > > _redir = "/your/path/with/no/extra/slash" >

Small problem with HttpResponseRedirect

2011-12-05 Thread Cal Leeming [Simplicity Media Ltd]
Not sure if this should have a bug ticket raised or not.. wanted to get core devs thoughts. _redir = "//your/path/with/an/extra/slash/for/whatever/reason" HttpResponseRedirect(_redir) returns "Location: http://your/path/with/an/extra/slash/for/whatever/reason"; _redir = "/your/path/with/no/extra

Django 1.3 LANGUAGE_CODE problem

2011-09-07 Thread pdeegii
At first sorry for my English :). LANGUAGE_CODE setting doesn't work correctly. When I configured LANGUAGE_CODE="mn", but default language code is "en". from django.utils.translation import get_language print get_language() >>> en

Problem with reversing namespaced URLs by a view name

2011-07-06 Thread Mikołaj Siedlarek
Hi, I have encountered reverse() behavior I believe to be invalid. In my separate app's URLconf I have included a pattern pointing to some contrib.auth view. This app's URLconf I've included in my main project's URLconf and gave it a namespace. Now an other contrib.auth view cannot reverse an

Re: Problem with writing custom field to work with inherit models

2011-04-06 Thread Russell Keith-Magee
On Thu, Apr 7, 2011 at 4:21 AM, Sebastian Bauer wrote: > Hi, could you explain to us why this isn't working? > https://github.com/humanfromearth/django-stdimage/issues/11 Not in this forum. You've posted to django-developers, which is a forum for discussing the development of django itself. It l

  1   2   3   4   5   6   >