Re: null datetime field and json fixtures

2016-02-18 Thread Malik Rumi
is a Python one, as opposed to one created of hacked by Django. I don't see how that helps my immediate problem, but I thought I should clarify. On Thursday, February 18, 2016 at 10:20:57 AM UTC-6, Malik Rumi wrote: > > James, > > I used csvkit csvkit.readthedocs.org/en/latest/ind

Re: Github v code.djangoproject for bug reports

2016-02-18 Thread Malik Rumi
6 at 10:58:25 AM UTC-6, Tim Graham wrote: > > Please read https://code.djangoproject.com/newticket > <http://goog_1605940378> for an explanation of what type of issue should > be reported where. > > On Thursday, February 18, 2016 at 10:41:54 AM UTC-5, Malik Rumi wrote

Re: Github v code.djangoproject for bug reports

2016-02-18 Thread Malik Rumi
Ok, never mind. I had to log in first. On Thursday, February 18, 2016 at 11:20:19 AM UTC-6, Malik Rumi wrote: > > Thanks, but, that link goes to http://goog_1605940378/ and reports: > > The server at *goog_1605940378* can't be found, because the DNS lookup > failed

Re: null datetime field and json fixtures

2016-02-19 Thread Malik Rumi
dsortseq": "1", "codelevel": "Constitution", "codelevelsortseq": "1", "siblingrank": "11", "childof_id": "", "jurisdiction_id": "e6e11b06-ea3b-4e98-a31f-9a83447ad884"} }, {"model&qu

Home Page

2016-02-23 Thread Malik Rumi
Why is there so little information in the docs about how to build a home page, where to put the url, whether or not to build a separate app around it, why or why not to put it in the folder with settings in it, and how to handle a complex home page with a lot of changing content - like on a new

context dictionary

2016-02-23 Thread Malik Rumi
from the docs: Changed in Django 1.8: The context argument used to be called dictionary. That name is deprecated in Django 1.8 and will be removed in Django 1.10. https://docs.djangoproject.com/en/1.9/topics/http/shortcuts/#optional-arguments I've been fooling with Django since 1.6 and I don't

Re: null datetime field and json fixtures

2016-02-24 Thread Malik Rumi
Sorry to have dropped out for a few days there. James, when I said I only have this one I should clarify. I had 90 records I wanted to put into one model, and 1 record to put into another. The 1 record is linked to by a fk from the other 90. For whatever reason, I was able to put the single record

Re: null datetime field and json fixtures

2016-02-24 Thread Malik Rumi
I am pursuing the debug option now to see what I can learn. On Fri, Feb 19, 2016 at 5:29 PM, Michal Petrucha < michal.petru...@konk.org> wrote: > On Fri, Feb 19, 2016 at 10:20:42AM -0600, Malik Rumi wrote: > > In [1]: import uuid > > > > In [2]: uuid.UU

Re: Home Page

2016-02-24 Thread Malik Rumi
, where (other than trial and error) do I find that kind of documentation / support? Trust me, I've googled this plenty, and the pickings are slim. On Tue, Feb 23, 2016 at 9:39 AM, Bob Gailer wrote: > > On Feb 23, 2016 7:59 AM, "Malik Rumi" wrote: > > > &g

Re: context dictionary

2016-02-24 Thread Malik Rumi
1. is { 5:five, 6:six} and {4:four) two dictionaries, or three? 2. Suppose I had a really long, or large, context, where the key is one of the 50 states and the value is the date of their admission to the Union (of the United States, of course). If that doesn't work, make it nations and the date t

Can't Get ListView to display result of SQL Query onto Custom Template

2016-02-25 Thread Malik Rumi
*Note- This question was originally posted on SO before I completely understood what my issue was. However, since editing it to reflect the true state of affairs, the silence over there has been deafening. I only mention that because some people don't like it when similar questions are posted

Re: Home Page

2016-02-25 Thread Malik Rumi
late. That way you can > create as dynamic pages as you like. > > Regards, > > Andréas > > 2016-02-24 20:57 GMT+01:00 Malik Rumi : > >> > I'm not sure what you're looking for here. Designing a home page is >> not a django topic. Using django to deliver a h

Re: null datetime field and json fixtures

2016-02-25 Thread Malik Rumi
This will probably be very helpful. Thanks. On Wed, Feb 24, 2016 at 3:39 PM, James Schneider wrote: > > > On Wed, Feb 24, 2016 at 11:26 AM, Malik Rumi > wrote: > >> I am pursuing the debug option now to see what I can learn. >> >> >> > > Have you lo

Re: Can't Get ListView to display result of SQL Query onto Custom Template

2016-02-25 Thread Malik Rumi
{{ i.arrow }} > > > On Thu, Feb 25, 2016 at 11:19 AM, Malik Rumi > wrote: > >> *Note- This question was originally posted on SO before I completely >> understood what my issue was. However, since editing it to reflect the true >> state of affairs, the silence over

URL namespaces

2016-02-25 Thread Malik Rumi
Assuming it can be done, what is the proper way to namespace two models in the same app, where both use slugs in the url but have different views and templates? In the docs, https://docs.djangoproject.com/en/1.9/topics/http/urls/#url-namespaces, it talks about how to do this, but it always r

errors while trying to add extra context (detailview, __getitem__)

2016-02-26 Thread Malik Rumi
File "/home/malikarumi/Projects/cannon/jamf/essell/urls.py", line 23, in url(r'^code/(?P)/', CodeDetailView.as_view(), name='family'), TypeError: 'function' object has no attribute '__getitem__' I understand that DetailView does not have __getitem__. I also understand that __getitem__ is us

Re: errors while trying to add extra context (detailview, __getitem__)

2016-02-26 Thread Malik Rumi
url(r'^$', TemplateView.as_view(template_name='home.html')), url(r'^library/', include('essell.urls')), url(r'^admin/', include(admin.site.urls)), ] On Friday, February 26, 2016 at 6:55:17 PM UTC-6, James Schneider wrote: >

Re: errors while trying to add extra context (detailview, __getitem__)

2016-02-26 Thread Malik Rumi
And here is the code from the original error: #!/usr/bin/python # -*- coding: utf-8 -*- from django.conf.urls import include, url, patterns from . import views from django.views.generic.base import TemplateView from essell.models import Code from essell.views import CodeListViewAll #from essell.vi

Re: errors while trying to add extra context (detailview, __getitem__)

2016-02-26 Thread Malik Rumi
JAMES wrote: >>> Can you post the entire section for your urls.py, as well as the entire traceback? Nothing is immediately jumping out at me. Do you get this error when you start the Django server, or when you visit the page that matches this URL? *This error comes when I try to start the serv

Re: errors while trying to add extra context (detailview, __getitem__)

2016-02-26 Thread Malik Rumi
*OK, so maybeMAYBE I've got this figured out. The problem is here:* https://docs.djangoproject.com/en/1.9/ref/urls/#django.conf.urls.url *I knew this, but note the examples still use the parens()* https://docs.djangoproject.com/en/1.9/ref/urls/#patterns *but that's what patterns is. It i

A Great Big Thank You

2021-06-06 Thread Malik Rumi
To the Core Developers: I was actually going to write my own app to do this, and then I found admindocs, and the description made it clear that a lot of the functionality I wanted was already there. I just finished installing it, and it is a beauty to behold. Even better than I had hoped - and

STATICFILES_STORAGE/STORAGES are mutually exclusive

2023-09-03 Thread Malik Rumi
I am getting this error, consistently and repeatedly, despite having taken the old STATICFILES_STORAGE setting out of my settings.py. I have been looking for a solution, and the source of this problem. I was at the Django repo on Github just now, looking at django/conf/global_settings.py, when

<    1   2