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 doesn;t show me the page. Ca

Re: #25227 Add utility method `get_updated_model()` to `ModelForm`

2015-08-14 Thread Stan
el()rise questions when I read it. I am not sure of what it does, what it get from what. Too magical. 3) You are gonna break a lot of code out there! 4) I know you spend a lot of time here, but you don't solve any problem. -- Stan -- You received this message because you are subsc

Re: django-admin.py shebang

2015-04-01 Thread Stan
On Wednesday, April 1, 2015 at 4:15:25 PM UTC+2, Markus Holtermann wrote: > > Hi Stan, > > how did you install Django? As a system package via the system's package > manager or via pip. If its the system package manager, please raise that > bug in the bug tracker of

Re: django-admin.py shebang

2015-04-01 Thread Stan
On Wednesday, April 1, 2015 at 3:58:13 PM UTC+2, Collin Anderson wrote: > > Hi Stan, > > In the source, it's looks like it's been using #!/usr/bin/env python for > almost 10 years: > https://github.com/django/django/blame/master/django/bin/django-admin.py > I

django-admin.py shebang

2015-04-01 Thread Stan
o /usr/bin/python ignore the PATH value. I know that virtualenv is the way to go... Thanks ! -- Stan -- 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 rece

Re: django admin: open popups as modals instead of windows

2015-02-24 Thread Stan
or applications we develop and a "power-user" of Django admin, I strongly agree with Florian here. The ability to open and switch to other tabs in the main window - which is not possible with modals, right ? - and to resize/move/scroll the popup window with native performance beats fancy

Re: Bytecode in Migrations

2015-02-12 Thread Stan
I noticed the same pb yesterday (runserver exception) when doing some git bisect on django repo because of some pyc content_type migration file. Removing the pyc files after each git bisect good|bad fixed the issue. On Thursday, February 12, 2015 at 1:19:32 AM UTC+1, Andrew Godwin wrote: > > You

Re: ANN: Django website redesign launched

2014-12-17 Thread Stan
cale* rule maybe ? Under code.djangoproject.com, removing the *text-shadow: 0 0* (trackhacks.css) rule enhance the anti-aliasing. Cheers, Stan -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscrib

Re: Master/slave trolling pull request accepted to django master branch

2014-08-13 Thread Stan
Ok Jerry Lewis, Everybody got the idea, now nove on. -- 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-developers+unsubscr...@googlegroups.com. To post

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-21 Thread Stan
Hi Ned, Looks like you are right. Is there a way to control the CTracer compilation at build time because I can't remember doing something different ? Maybe a lib is missing. Sorry for the noise here. --- Stan (venv_dj_1_7) $ coverage debug sys -

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-10 Thread Stan
all 2. coverage run --source='.' manage.py test fab4.fabrication.tests.tests.ParutionTest 25f4e71ed30befbd6af02a7d35807d0d3170e57d (8 june) 2dd52d043344c9e9acf65149d8c72b32b40f4643 (5 may) 35c2a14a49ac3cb25dcff818b280bf0b4c290287 (30 april) edca57817fa5c366483194020967cd9d4ef1318c (2

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
). > > Still no idea on the coverage issue; you might have to bisect the 1.7 > branch to work out what caused that, and I wouldn't want to force that on > you. > I'll try that tomorrow. --- Stan > I'd like to focus on the slow migration first, as that

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
On Wednesday, July 9, 2014 10:48:09 AM UTC+2, Aymeric Augustin wrote: > > 2014-07-09 9:50 GMT+02:00 Stan >: > >> My test suite rely massively on JSON fixtures. >> > > Do you have large initial_data fixtures? > Nope. I don't have any initial_data file. I t

Re: [1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-09 Thread Stan
Hi Andrew, On Tuesday, July 8, 2014 7:14:09 PM UTC+2, Andrew Godwin wrote: > > Hi Stan, > > It seems like there's two separate issues here: > You are right. > > - One of the migrations takes 30s to run. What is the migrations that's > so slow, and what d

[1.7-RC] Using coverage with migrated app slow down test-suite execution by 6 times.

2014-07-08 Thread Stan
Hi devs, Since Django-1.7-RC, apps containing models that inherit from "migrated" must be "migrated". My project (*fab4*) contains 7 apps and only 1 (*parametrage*) has been migrated (as explained in the doc )

Re: Terms for database replication

2014-06-05 Thread Stan
Alex, With all due respect (I mean it), The perception from the outside is that you didn't put the Django project best interest on the first line in that PR / merge but something more personal (plus being a confusing merge in terms of computer science). Cheers -- You received this message be

Ticket #16311 review please ? (admin.filter.RelatedFieldListFilter extension)

2014-05-22 Thread Stan
Hi devs, Could some take a look at this cool pull requestsplease ? I know the 5 for 1 rule but quite frankly I can't find something to work on (so if you want to put me on something in particular, that's fine :) TL;DR : In your *space_program* app

Re: Improving ForeignKeyRawIdWidget (raw_id_fields in admin)

2013-10-24 Thread Stan
On Wednesday, August 7, 2013 11:51:58 PM UTC+2, DrMeers wrote: > > On 13 June 2013 07:41, Simon Meers > wrote: > >> On 13 June 2013 03:33, > wrote: >> >>> I think that the usability of ForeignKeyRawIdWidget could be vastly >>> improved if the representation part of the widget (the object name, i

Re: Permission to use some Django material ?

2013-10-03 Thread Stan
On Thursday, October 3, 2013 11:17:49 AM UTC+2, Tom Christie wrote: > > Hi Stan, > > I would simply include some text in the license noting that some images > are taken from the Django source and their usage is subject to it's > license, with a link to the Django licen

Re: Permission to use some Django material ?

2013-10-03 Thread Stan
sed > by Django or it's contributors. > > The license text itself is quite easy to read: > > https://github.com/django/django/blob/master/LICENSE > > Yours, > Russ Magee %-) > > > On Thu, Oct 3, 2013 at 4:28 PM, Stan >wrote: > >> Hi, >> >&

Permission to use some Django material ?

2013-10-03 Thread Stan
Hi, I am working on a small app providing Ajax search for a ModelChoiceFieldLike in addition to an admin-like related lookup (pop up to changelist). Is it possible for me to embed the magnifier image from admin statics ? (static/admin/img/selector-search.gif) Thanks. Stanislas. -- You recei

Re: [contrib][admin]: Grouping actions

2013-09-11 Thread Stan
On Friday, September 6, 2013 10:11:18 PM UTC+2, German Larrain wrote: > > Hi Stan. > > I'm currently looking for "admin-related" features that seemed to be kind > of accepted by the core developers. > > What's the status of your proposal for grouping

Re: Improving ForeignKeyRawIdWidget (raw_id_fields in admin)

2013-06-13 Thread Stan
app is in INSTALLED_APPS. Cheers, -- Stan On Wednesday, June 12, 2013 7:33:31 PM UTC+2, ric...@richard.ward.name wrote: > > I think that the usability of ForeignKeyRawIdWidget could be vastly > improved if the representation part of the widget (the object name, in > bold) were to be upd

Re: ALLOWED_HOSTS : Cannot allow hosts with single label

2013-04-05 Thread Stan
score and I didn't knew it wasn't allowed. Many thanks and sorry for the noise ! -- Stan > > Regards, > Florian > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop rec

ALLOWED_HOSTS : Cannot allow hosts with single label

2013-04-05 Thread Stan
;my_alias', ]) def test_http_get_host(self): # Check if X_FORWARDED_HOST is provided. @@ -165,6 +165,7 @@ class RequestsTests(unittest.TestCase): 'anything.multitenant.com', 'multitenant.com', 'insensit

Re: [contrib][admin]: Grouping actions

2013-03-28 Thread Stan
On Thursday, March 28, 2013 1:50:36 PM UTC+1, Aymeric Augustin wrote: > > > On 28 mars 2013, at 12:21, Stan > > wrote: > > > Do you guys think it worth the effort to backport the functionality into > admin ? > > > Hi Stan, > > I like this idea.

[contrib][admin]: Grouping actions

2013-03-28 Thread Stan
Hi, In several projects we have some front-ends that share code with admin. One addition in the front is the ability to group actions in several groups for the s

Re: Django performance vs others

2012-10-05 Thread Stan
returned response come from and how does the 3 lines above can impact it ? If you want to turn off the cache you have to change all that logical code, not just the @decorator, right ? Seriously, dude. If you try to sell your business, this is not the right way and not the right place, so

Re: Django performance vs others

2012-10-04 Thread Stan
On Thursday, October 4, 2012 9:50:35 AM UTC+2, Moonlight wrote: > > I found the following benchmarks recently: > 1. http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html > 2. http://mindref.blogspot.com/2012/07/python-fastest-template.html > > It is interesting to see the performa

Re: Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Stan
mpatible-changes-in-1-5 > > Cheers, > > -- > Aymeric. > > > Le 21 sept. 2012 à 16:06, Stan > a > écrit : > > Hi, > > Maybe I missed something but in upgrading a project from Django 1.3.x to > 1.4.1 I have encounter the following error when running m

Migration to Django 1.4.1 : nothing about auth.message in Backward incompatibilities CHANGELOG.

2012-09-21 Thread Stan
Hi, Maybe I missed something but in upgrading a project from Django 1.3.x to 1.4.1 I have encounter the following error when running my tests : Problem installing fixture '/Users/stan/Dropbox/Projets/Aden/Publish-dj1.4/fab4/../fab4/parametrage/fixtures/tests/auth.json': Trace

[contrib.admin] : search by date according to localization.

2012-07-04 Thread Stan
The way the query is constructed in admin.changelist to filter according the search parameters is very basic. There is no assumptions and no verifications done on the fields, it is just a string naively constructed from ModelAdmin.search_fields. I am using it to allow one to search by date in a

Re: Redesign of djangoproject.com?

2012-05-25 Thread Stan
On Thursday, May 24, 2012 3:57:26 PM UTC+2, Andre Terra wrote: > > Hi Ashraful, > > First of all, thank you for contributing with your ideas for this project. > Your mockup is one of the most aesthetically pleasing so far IMHO but there > are some issues that need addressing before it could be

Re: Revisiting multiline tags

2012-02-25 Thread Stan
*Not* +1 on this. Using extensively Django since the beginning and had never felt the need to break a tag on several lines. HTML does not meant to be written like any programming language (80 cols and so on) and the philosophy of the Django template language has never been to expose a full-feature

Re: start using less (and bootstrap!)

2012-02-16 Thread Stan
On Feb 9, 1:49 pm, zalew wrote: > > We're going > > to solve that with our move to Git/GitHub, which will make it much > > easier for people to fork and much easier for core developers to > > integrate contributions. > > a bit offtopic: why nothttp://bitbucket.org?similar features, it's on > pyt

A better UI for admin's raw_id lookup.

2011-11-04 Thread stan
Hi, I have submitted a new patch for the ticket #7028 https://code.djangoproject.com/ticket/7028 a few weeks ago to address the problem of giving a better feedback next to the admin's raw_id fields by displaying the __unicode__() «string». As Julien told me in a comment, we may go further by pro

Re: Sane defaults for Startapp and Startproject

2011-10-18 Thread stan
Hi Rich, I'am not Django core but I think that most of your propositions are unpythonic/unkiss, unclear and way too specific or magical. I don't want to waste 10 more minutes after a startapp/startproject to think about what directory I have to remove and which files I have to repair because all

CachedStaticFilesStorage and Media definition in ModelAdmin and Form.

2011-08-23 Thread stan
g not documented I wonder if this is the official way to proceed. Many thanks for this new feature, Stan. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.

Re: localization in python code (views, models etc)

2011-07-11 Thread stan
On Jul 12, 2:21 am, Lachlan Musicman wrote: > On Mon, Jul 11, 2011 at 21:02, stan wrote: > > >> > class Book(models.Model): > >> >    title = models.CharField(max_length=120) > >> >    date_published = models.DateField() > > >> Big tip

Re: localization in python code (views, models etc)

2011-07-11 Thread stan
On Jul 11, 11:36 am, Lachlan Musicman wrote: > On Mon, Jul 11, 2011 at 18:58, stan wrote: > > Hi, > > > Maybe I missed something, but I didn't found any explanation in the > > doc about how to localize a date or a number in the python code side. > > Maybe I a

localization in python code (views, models etc)

2011-07-11 Thread stan
Hi, Maybe I missed something, but I didn't found any explanation in the doc about how to localize a date or a number in the python code side. Maybe I am totally wrong about wanting to do that but I can't see a solution to resolve the following problem in the template (where localization should be

Conditional aggregations.

2011-06-24 Thread stan
This topic is discussed on the Ticket #11305 : https://code.djangoproject.com/ticket/11305 Like many folks, I am hit by the scenario where a relative simple query become a design decision because my «boss» asked me : "Hey Stan, can you add me a column with the number of valid items in

Re: Using dimension_fields in models.ImageField cause performance penalties

2011-04-13 Thread stan
03 pm, Russell Keith-Magee wrote: > On Mon, Apr 11, 2011 at 8:16 PM, stan wrote: > > The main purpose of the height_field and width_field attributes is to > > give a performance boost in some situations, > > these fields acting as a cache on the dimensions of the image. > ... &

Using dimension_fields in models.ImageField cause performance penalties

2011-04-11 Thread stan
The main purpose of the height_field and width_field attributes is to give a performance boost in some situations, these fields acting as a cache on the dimensions of the image. I recently have switched-on those attributes for a newspaper publishing project where we manipulate some huge .tiff pict