django
setting or other problem?
Any help would be appreciated. Thanks in advance.
-Larry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
use some parameters when creating
the
database, like this
create database db_name default character set utf8 collate
utf8_general_ci;
I haven't changed the my.cnf file, could you tell me which is the best
way to
configure the MySQL or Django?
Thanks a lot!
-Larry
On Jul 17, 5:43 pm, Andrew Fong
it will take a long time to recreate and reload them.
Thanks!!
-Larry
On Jul 20, 10:58 am, Andrew Fong wrote:
> Yeah, that output doesn't look correct. You're getting back two
> characters for ø when there should be just one.
>
> One possibility is that while you've
he list
of User_Item objects, i.e., instead of returning the user-item
relation, we only return
the items.
Thanks,
-Larry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
to do this?
Many many thanks!
-Larry
--~--~-~--~~~---~--~~
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
Yes, this exactly what I want.
Thanks a lot!
-Larry
On Jun 2, 12:11 pm, Daniel Roseman
wrote:
> On Jun 2, 3:04 pm, Larry wrote:
>
>
>
>
>
> > Hi,
>
> > Here is what I want to do:
>
> > I have one table A with two columns: user_id, msg_id (ManyTOM
Don't know if you've solved this already, but
This works for me and I think is what you're looking for
views.py
form.fields["groups"].queryset =
Groups.objects.filter(profile=profile)
I only display the groups that are associated with the profile.
My profile is attached to the user via request.u
Complete django novice here.
I've been able to produce a nice form interface using newforms and
various examples. I've run into what I believe may be a common
problem with saving many-to-many relationships (of which I have quite
a few on the one form) when the user is submitting a new record.
I
points are 1) how to create a
form from _several_ objects, 2) how to create the form from several
_models_ when the user is trying to add new information and 3) how to
instantiate the multiple save objects from the POSTed form.
Many thanks for your kind assistance in what I know must be quite a
gestions on just what class or classes need to be extended to
handle this are greatly appreciated.
--
Larry Lustig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
I've derived a new version of the CheckboxSelectMultiple widget.
Unfortunately, just like its parent, it prints a message "Hold down
"Control", or "Command" on a Mac, to select more than one." on each
field. This instruction, which I assume is coming from an ancestor
class, is not appropriate fo
xt attribute. Since I wasn't aware it existed, I don't have
any other information in there.
--
Larry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
, but it doesn't work for this particular
application's users.
--
Larry
--~--~-~--~~~---~--~~
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
cture may be better,
it seems like several steps backwards in terms of out-of-the-box
functionality.
Thanks -- I'll have another look at the multi-widget.
--
Larry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
On Thu, Apr 21, 2022 at 1:06 PM cseb...@gmail.com wrote:
>
> Why does this fail?...
>
> % echo "import datetime ; [datetime for e in [1, 2]]" > test
>
> % ./manage.py shell < test
>
> Traceback (most recent call last):
> File "./manage.py", line 8, in
> django.core.management.execute_from_c
On Thu, Apr 21, 2022 at 2:53 PM cseb...@gmail.com wrote:
>
> The script should quietly exist without error.
>
> I actually have a longer script that is the real workhorse.
> I just made this tiny one to showcase the issue.
>
> I can past
>
> import datetime ; [datetime for e in [1, 2]]
>
> into a
On Thu, Jun 16, 2022 at 4:09 AM luca72.b...@gmail.com
wrote:
>
> Hello i have a list like:
> mylist = ['1,png','2.png',3.jpj']
> in the template i do as follow:
> {% for o in mylist %}
>
> {% if "png" in o %}
> {{ o }}
>
> {% else %}
> {{o}}
>
I have a standalone python script (i.e. not part of a web app) that
makes use of the ORM. I call djago.setup(), make some queries, then
call a function that can take 8 hours or more to run. When the
function returns I want to make more queries, but they fail with 'Lost
connection to MySQL server du
I have an app that needs to get a unique ID. Many threads run at the
same time that need one. I would like the IDs to be sequential. When I
need a unique ID I do this:
with transaction.atomic():
max_batch_id =
JobStatus.objects.select_for_update(nowait=False).aggregate(Max('batch_id'))
jso
ed.
> On Wed, 23 Nov 2022, 16:57 Larry Martell, wrote:
>>
>> I have an app that needs to get a unique ID. Many threads run at the
>> same time that need one. I would like the IDs to be sequential. When I
>> need a unique ID I do this:
>>
> > On Nov 23, 2022, at 8:56 AM, Larry Martell wrote:
> >
> > I have an app that needs to get a unique ID. Many threads run at the
> > same time that need one. I would like the IDs to be sequential. When I
> > need a unique ID I do this:
> >
> >
On Sun, Nov 27, 2022 at 2:40 PM Ilyas Modni wrote:
>
> AttributeError: module 'django.db.models' has no attribute 'PointField'
Are you importing:
from django.contrib.gis.db import models
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
On Wed, Nov 23, 2022 at 3:11 PM Larry Martell wrote:
>
> On Wed, Nov 23, 2022 at 3:01 PM Thomas Lockhart
> wrote:
> >
> > Why not use the existing Django AutoField?
>
> Because I have multiple rows with the same batch_id, and also I would
> like the batch_ids to b
I have a CreateAPIView view with this code in the serializer:
class AssignWorkItemSerializer(serializers.Serializer, WorkitemSerializerMixin):
assigneeIds = serializers.ListSerializer(
child=serializers.PrimaryKeyRelatedField(
queryset=get_user_model().objects.filter(userr
On Sun, Jan 29, 2023 at 9:14 AM ALBERT ASHABA AHEEBWA <
ashabaaheebwaalb...@gmail.com> wrote:
> So I was able to successfully host my first ever Django app on linode.
> After the excitement had won off, I started testing the routes, everything
> was running fine except for two routes.
>
> SERVER E
I have this defined in my serializer:
case_status = serializers.ListField(
child=serializers.CharField(
allow_blank=True,
max_length=512,
allow_null=True,
required=False,
default="''",
),
source='casestatus',
name 'include' is not defined
I tried to import include with the statement from django.conf.urls
import include
which also failed.
Thank you for reading my post.
Larry Stevens
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
de : from django.urls import path, include
>>
>> On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens
>> wrote:
>>
>>> Hello,
>>>
>>> I'm brand new to Django taking an online course in Python.
>>> I created a project named 'django_test&
Perfect, thank you
Larry Stevens
(571) 289-7658
On Wed, Mar 22, 2023 at 9:49 AM Harouna Diallo
wrote:
> You must Import include : from django.urls import path, include
>
> On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens
> wrote:
>
>> Hello,
>>
>> I'm brand
On Sun, May 21, 2023 at 10:54 AM William Nash (Bill) wrote:
>
> I'm new to django and I'm trying to learn as I program a small website for my
> scuba diving business. I'm running into a error that when I try to add a
> diver the database does not update. When I goto
> http://localhost:8000/a
On Mon, May 29, 2023 at 1:14 PM Thomas Mutavi wrote:
>
> Hello, how can i implement a form with several date fields which have date
> and time picker in django?
You can use the jQuery UI datetimepicker.
--
You received this message because you are subscribed to the Google Groups
"Django user
We have a django app and it supports a file upload request. The entire
upload comprises multiple requests. We are authenticating with JWT and
we have logic to handle a 401 and in that case use the refresh token
to get a new access token and resend the failed request. However if
the token expires be
I normally deploy my django apps using nginx and uwsgi. I recently
found that the uwsgi mailing list is defunct, and I read this on the
uwsgi github page:
Note: The project is in maintenance mode (only bugfixes and updates
for new languages apis). Do not expect quick answers on github issues.
Are
On Fri, Mar 2, 2012 at 2:00 PM, Jonathan Holloway
wrote:
> I sympathise with you. I'm following the 1.3 online docs and hacking a site
> together at the moment.
>
> an up to date book would be awesome !!!
>
> I found looking at example projects on Github very useful.
>
> Cheers,
> Jon.
>
> --
> Y
endfor %}
{% endfor %}
>From my javascript code, how can I access the data in the table? Do I
have to tag the cells in the table with an id or class when I create
them? Or is there some other way to do this?
Thanks!
-larry
--
You received this message because you are subscrib
On Tue, Mar 13, 2012 at 11:26 AM, Xavier Ordoquy wrote:
> Hi
>
> Le 13 mars 2012 à 18:11, larry.mart...@gmail.com a écrit :
>
>> From within a template can I find out the URL that caused the template
>> to be invoked?
>
> You usually should have the request object in your template. See
> https://
On Tue, Mar 13, 2012 at 11:58 AM, Xavier Ordoquy wrote:
>
> Le 13 mars 2012 à 18:40, Larry Martell a écrit :
>
>> On Tue, Mar 13, 2012 at 11:26 AM, Xavier Ordoquy
>> wrote:
>>> Hi
>>>
>>> Le 13 mars 2012 à 18:11, larry.mart...@gmail.com a écrit
sed. (I'm
fairly new to both django and this job, and I just grepped through the
entire code base and it wasn't found.)
>
> Furbee
>
> On Tue, Mar 13, 2012 at 11:27 AM, Larry Martell
> wrote:
>>
>> On Tue, Mar 13, 2012 at 11:58 AM, Xavier Ordoquy
>>
On Tue, Mar 13, 2012 at 2:19 PM, Furbee wrote:
> Hi Larry,
>
> render_to_response is one of many ways to return an HttpResponse to send to
> the client. Wherever your view does the return, you can pass these GET
> variables.
>
> However, if they are being generated by jQu
is done and cannot manipulate the page, unless you are using AJAX to get
> updated details.
When the URL that gets updated by jQuery is clicked on, it goes back
to Django/Python and the {{ request.get_full_path }} gets updated.
> On Tue, Mar 13, 2012 at 2:23 PM, Larry Martell
> wrote:
On Tue, Mar 13, 2012 at 3:34 PM, Sophia wrote:
> Thanks for the help, actually it should be run just on my computer not the
> client.
In this context the client is the browser.
>
> On Tuesday, March 13, 2012 1:54:00 PM UTC-7, Javier Guerra wrote:
>>
>> On Tue, Mar 13, 2012 at 3:37 PM, Sophia wr
ackwards through the data (which is a return back to the server), the
filter string can get passed back into the template so it can apply
the filtering on the new data set
> On Tue, Mar 13, 2012 at 2:42 PM, Larry Martell
> wrote:
>>
>> On Tue, Mar 13, 2012 at 3:33 PM, Furbee wrote
v to be applied to the
new page of data.
>
>
> On Tue, Mar 13, 2012 at 3:01 PM, Larry Martell
> wrote:
>>
>> On Tue, Mar 13, 2012 at 3:53 PM, Furbee wrote:
>> > Gotcha, I was unclear. You can have jQuery modify the URL without
>> > actually
>
; instead of the server. Maybe I misunderstood, but if so, I would suggest
>> filtering the data on Django's end and simply returning the filtered
>> QuerySet. This may make the page load faster and would be scalable for
>> larger lists where lots of records are being filte
I'm trying to generate a URL that looks something like this:
/report/faloom/EventLog/?message=EventSearchString&tool_ids=13&field_1=Tool&field_2=Time&field_3=Module&field_4=Message&submit_preview=Generate+Report
I have the values for the arguments (message, tool_ids, etc) available to me.
My ur
On Tue, Mar 20, 2012 at 11:04 PM, Daniel Roseman wrote:
> On Tuesday, 20 March 2012 15:27:27 UTC-7, larry@gmail.com wrote:
>>
>> I'm trying to generate a URL that looks something like this:
>>
>>
>> /report/faloom/EventLog/?message=EventSearchString
This is probably a stupid newbie question
I want to access a column of data in a row using forloop.counter, but
I cannot get it to work.
In my test code, if I display {{ forloop.counter }} I get 2
If I display {{ headers.0.2 }} I get ToolType
But if I display {{ headers.0.forloop.counter }}
On Wed, Mar 21, 2012 at 7:53 AM, James wrote:
>
>
> On Wednesday, March 21, 2012 8:47:23 AM UTC-4, larry@gmail.com wrote:
>>
>> This is probably a stupid newbie question
>>
>> I want to access a column of data in a row using forloop.counter, but
>&g
On Wed, Mar 21, 2012 at 8:32 AM, Tom Evans wrote:
> On Wed, Mar 21, 2012 at 12:47 PM, Larry Martell
> wrote:
>> This is probably a stupid newbie question
>>
>> I want to access a column of data in a row using forloop.counter, but
>> I cannot get it to wor
On Wed, Mar 21, 2012 at 2:06 PM, Daniel Roseman wrote:
> On Wednesday, 21 March 2012 03:01:23 UTC-7, larry@gmail.com wrote:
>>
>>
>> I'm very new to django. The rest of the URL comes from the index
>> function in views.py. I wasn't sure if it violate
On Wed, Mar 21, 2012 at 12:52 PM, James wrote:
>
>
> On Wednesday, March 21, 2012 10:41:08 AM UTC-4, larry@gmail.com wrote:
>>
>> On Wed, Mar 21, 2012 at 7:53 AM, James <> wrote:
>> >
>> >
>> > On Wednesday, March 21, 2012 8:47:23 AM UTC-
the link of the page of the app they came from? It's
not simply just going back one page, as they could have navigated all
over the place of the admin site before clicking the "Back to app"
link.
Thanks!
-larry
--
You received this message because you are subscribed to the Googl
On Mon, Mar 26, 2012 at 4:37 PM, Mike Dewhirst wrote:
> On 27/03/2012 9:16am, larry.mart...@gmail.com wrote:
>>
>> On Mar 25, 3:29 pm, Larry Martell wrote:
>>>
>>> I have a client that has an app built with django. On every page of
>>> their app is a
On Mon, Mar 26, 2012 at 7:25 PM, Mike Dewhirst wrote:
> On 27/03/2012 10:16am, Larry Martell wrote:
>>
>> On Mon, Mar 26, 2012 at 4:37 PM, Mike Dewhirst
>> wrote:
>>>
>>> On 27/03/2012 9:16am, larry.mart...@gmail.com wrote:
>>>>
>>>>
On Mon, Mar 26, 2012 at 9:19 PM, Mike Dewhirst wrote:
> Larry
>
> Here is a working setup ...
>
> From settings.py
> # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
> #
> # if templates are not found here look in app_name/templates
> TEMPLATE
I'm on a mac, running Mac OS X Version 10.5.8 (Leopard). I was running
django -r 13034 that I got from SVN. I am trying to upgrade to 1.4
from git. After I upgrade, python can no longer find django. Here's
what I did:
$ cd /usr/local/lib/python2.6/dist-packages
$ sudo mv django/ django-13034
$ sud
ckage is apparently a
subdirectory of the git repository. I did this:
mv django django.git
ln -s django.git/django django
And now it's finding it.
>
> On Sat, Apr 7, 2012 at 3:33 PM, Larry Martell
> wrote:
>>
>> I'm on a mac, running Mac OS X Version 10.5.8 (Leopard). I w
On Mon, Apr 9, 2012 at 4:53 PM, William Deegan wrote:
> Larry,
>
> Why not use virtualenv? Or buildout?
I am not familiar with either one of those. I use my mac for
development for a specific client. I need my environment to match
their's as much as possible. They had been using
I'm trying to execute some raw sql. I found some code that did this:
from django.db import connection
cursor = connection.cursor()
cursor.execute(sql)
data = cursor.fetchall()
But the cursor.execute(sql) is blowing up with:
'Cursor' object has no attribute '_last_executed'
What is the best or p
On Mon, Apr 30, 2012 at 12:46 PM, Larry Martell wrote:
> I'm trying to execute some raw sql. I found some code that did this:
>
> from django.db import connection
> cursor = connection.cursor()
> cursor.execute(sql)
> data = cursor.fetchall()
>
> But the cursor.ex
On Mon, Apr 30, 2012 at 2:32 PM, Larry Martell wrote:
> On Mon, Apr 30, 2012 at 12:46 PM, Larry Martell
> wrote:
>> I'm trying to execute some raw sql. I found some code that did this:
>>
>> from django.db import connection
>> cursor = connection.curs
On Mon, Apr 30, 2012 at 6:26 PM, Dennis Lee Bieber
wrote:
> On Mon, 30 Apr 2012 15:29:08 -0600, Larry Martell
> declaimed the following in
> gmane.comp.python.django.user:
>
>>
>> But in django I am doing this:
>>
>> from django.db import conn
I have a template that creates a text entry field and a checkbox. When
the checkbox is unchecked, the text field is disabled and cleared,
when it's checked, it's enabled, and the user may or may not have
typed in it. In my controller I need to distinguish between the 2
cases when the checkbox is un
work. In the end it wasn't that bad, but it
wasn't seamless.
-larry
--
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
Last month I set up a system and when I cloned django from git I got
version 1.4. Now I an setting up another system, and when I clone
django from git I get 1.5, and my app is failing. How I can get 1.4? I
see a django-nonrel / django-1.4 but it says "Work in progress 1.4
port, DON'T USE"
--
You
ac2b467bd71f807cad45e12a86aa371bd
fatal: reference is not a tree: 6fbf282ac2b467bd71f807cad45e12a86aa371bd
> 2012/5/6 Ramiro Morales
>>
>> On Sat, May 5, 2012 at 8:42 PM, Larry Martell
>> wrote:
>> > Last month I set up a system and when I cloned django from git I got
>> > version 1.4. Now I an
On Sat, May 5, 2012 at 7:06 PM, Ramiro Morales wrote:
> On Sat, May 5, 2012 at 8:42 PM, Larry Martell wrote:
>> Last month I set up a system and when I cloned django from git I got
>> version 1.4. Now I an setting up another system, and when I clone
>> django from git I g
is
> available locally.
>
> You need to get a checkout of the commit pointed to by the '1.4' tag.
> IIRC you can achieve that with::
>
> git checkout 1.4
Ok, Thanks. I'll try that next time. I ended up just scp-ing the
django dir from my working system.
> On 5/6/12
with"object has no attribute 'col1-col2'"
Is there some way I can make getattr work for the derived field?
TIA!
-larry
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-use
On Thu, May 24, 2012 at 2:27 AM, bruno desthuilliers
wrote:
> On May 23, 10:39 pm, Larry Martell wrote:
>> I was asked to make a mod to a large django app that I didn't write.
>> They wanted me to add a derived field to a query, e.g. select
>> col1-col2 from table ...
&
On Thu, May 24, 2012 at 9:29 AM, bruno desthuilliers
wrote:
> On May 24, 3:44 pm, Larry Martell wrote:
>> On Thu, May 24, 2012 at 2:27 AM, bruno desthuilliers
>>
>> wrote:
>> > On May 23, 10:39 pm, Larry Martell wrote:
>> >> I was asked to make a mod
On Fri, May 25, 2012 at 2:24 AM, bruno desthuilliers
wrote:
>
> On May 24, 11:50 pm, Larry Martell wrote:
>> I got this to work by adding the derived field to the drill down query
>> with queryset.extra, and then it was available with getattr. The only
>> issue I had was
On Fri, May 25, 2012 at 6:42 AM, bruno desthuilliers
wrote:
> On May 25, 2:32 pm, Larry Martell wrote:
>> On Fri, May 25, 2012 at 2:24 AM, bruno desthuilliers
>>
>> >> I couldn't use the display name or the getattr failed.
>>
>> > ???
>
In my admin site, if I select multiple users, then select 'Delete
selected users' and click 'Go', it hangs. I can delete one user at a
time with no issues. There is nothing logged anywhere - not in any
apache log nor in the mysql log. Where can I look for more info to
debug th
I have a table that had a ForeignKey reference. In the admin screen
for adding to this table there was a dropdown for that column. I want
to get rid of that ForeignKey. I changed models.py and removed the
ForeignKey column, bounced apache and altered the table and removed
that column. In the admin
ong table.
> On Fri, Jun 15, 2012 at 11:37 PM, Larry Martell
> wrote:
>>
>> I have a table that had a ForeignKey reference. In the admin screen
>> for adding to this table there was a dropdown for that column. I want
>> to get rid of that ForeignKey. I changed models.
h me.
TIA!
-larry
--
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
django-users+unsubscr...@googlegroups.com.
For more options,
On Mon, Jun 25, 2012 at 5:56 AM, bruno desthuilliers
wrote:
> On Monday, June 25, 2012 1:34:08 PM UTC+2, larry@gmail.com wrote:
>>
>> Now they want me to add to that how long
>> the browser takes to render the page
>
>
> How would server code ever know this ?
don't get the syntax error, but the if does not evaluate to true
when the dates match.
I need to see if the date in {{ value }} is `today' - how can I do that?
-larry
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
On Mon, Jun 25, 2012 at 6:26 AM, Daniel Roseman wrote:
>
> On Monday, 25 June 2012 13:05:24 UTC+1, larry@gmail.com wrote:
>>
>> I'm trying to use now in an if like this:
>>
>> {% if value|date:"Ymd" == now "Ymd" %}
>>
>
On Mon, Jun 25, 2012 at 6:56 AM, Melvyn Sopacua wrote:
> On 25-6-2012 14:00, Larry Martell wrote:
>> On Mon, Jun 25, 2012 at 5:56 AM, bruno desthuilliers
>> wrote:
>>> On Monday, June 25, 2012 1:34:08 PM UTC+2, larry@gmail.com wrote:
>>>>
>>&g
On Mon, Jun 25, 2012 at 9:04 PM, Andy McKay wrote:
>> Now they want me to add to that how long
>> the browser takes to render the page after it gets the data.
>
> You can use the navigation timing API:
>
> https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html
>
> We use
e template, and the alert doesn't show when the request comes
from ajax. But if I go to the URL directly it does.
Is this a known issue? Is there some way I can get my javascript code
to run to install my event handlers when the request comes from ajax?
TIA!
-larry
--
You received this mess
timing data. Should that be there or do
I have do something to load or enable it?
-larry
--
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 g
opacity: 1.0
});
style_preview_table();
}
And I have verified that all the non javascript portions of the
template are executed, but none of the javascript ones are.
>
> On Fri, Jun 29, 2012 at 11:45 PM, Larry Martell
> wrote:
>>
>> I have a django
meworks can extract script and inject it
>> correctly to current DOM. Since you mention jquery I guess that you're using
>> that for ajax queries so make sure that your $.ajax() has dataType attribute
>> to set as 'html'. It should (according to docs) parse script
On Sat, Jun 30, 2012 at 11:54 AM, Psamathos wrote:
> If your web server is in fact serving the content with the incorrect
> Content-Type header (You can verify this by inspecting the response in the
> Net tab of Firebug or Chrome) jQuery can convert the response regardless of
> the content-type if
On Fri, Jun 29, 2012 at 2:45 PM, Larry Martell wrote:
> I have a django template that has some javascript/jQuery code in it
> that defines some keyup event handers. If a user goes to the URL
> directly the javascript is executed, and the event handers all work
> fine. There is also
On Mon, Jul 2, 2012 at 11:45 AM, Cal Leeming [Simplicity Media Ltd]
wrote:
> Emily,
>
> Please refrain from sending chain/spam emails to the list, this isn't
> acceptable.
>
> Also - on a site note, you really shouldn't be giving out your entire
> mailbox by cc'ing everyone, this isn't very good p
I have a client that asked me to add some new functionality to their
app, and then they said 'This new functionality should be controlled
in Django admin so that only the admin user can see it.' Is there a
way to control this in Django admin? I know in the python code i can
check to see if they're
ects for a good start.
But there's nothing inherently built into Django admin that supports
this, correct?
>
>
> On Tue, Jul 3, 2012 at 1:39 PM, Larry Martell
> wrote:
>>
>> I have a client that asked me to add some new functionality to their
>> app, and then they
x27;t think so, but my
client seems to.
>
>
>
> On Tue, Jul 3, 2012 at 1:51 PM, Larry Martell
> wrote:
>>
>> On Tue, Jul 3, 2012 at 11:49 AM, Robert Steckroth
>> wrote:
>> > Yes, I have seen some very impressive admin media controls for websites
>
On Tue, Jul 3, 2012 at 12:31 PM, Larry Martell wrote:
> On Tue, Jul 3, 2012 at 11:55 AM, Robert Steckroth
> wrote:
>> Django is a very open-ended framework. The admin system is built around
>> developer/user customization.
>
>
> Yes, I realize that. But I was asking
finding that loadEventEnd is always 0 for me, even though
I am accessing it from within a window.onload function, e.g:
window.onload = function() {
var t = performance.timing;
var render_time = parseInt(t['loadEventEnd']) - parseInt(t['responseEnd']);
}
What do I have to wait
On Thu, Jul 5, 2012 at 10:48 PM, Andy McKay wrote:
>> I'm trying to use the Navigation Timing package to measure how long a
>> page takes to be rendered.
>
> So you don't want to include all the lookups? Just the "rendering" part?
Not sure what you mean by "lookups." I want to include everything
I have a situation where I'm sending an ajax request to a function
that updates a row in database. I then want to return control to the
browser, with no changes to the page that was up. I am not returning
anything from the function, and it's working the way I want, however I
get an error in the bro
On Fri, Jul 6, 2012 at 2:47 PM, Tomas Neme wrote:
> Just return an empty response, with a 200 OK code:
>
> return HttpResponse("")
>
> I'm not sure whether you can omit the ""
Thanks. I did this:
return HttpResponse(status=201)
> On Fri, Jul 6,
On Mon, Jun 25, 2012 at 9:04 PM, Andy McKay wrote:
>> Now they want me to add to that how long
>> the browser takes to render the page after it gets the data.
>
> You can use the navigation timing API:
>
> https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html
>
> We use
r type, but rather,
where that javascript code would go, and how I would cause it to get
invoked after the login.
TIA!
-larry
--
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@googlegr
On Tue, Jul 31, 2012 at 8:05 PM, Larry Martell wrote:
> I've only been working with django for 6 months, and I'm not really
> clear on how the login process works.
>
> I have a client that has a login screen created by a template. It has
> a submit button with:
>
&g
1 - 100 of 619 matches
Mail list logo