On Fri, Jan 22, 2016 at 11:38 PM, Luis Masuelli
wrote:
> I would like to create a custom AdminSite instance, using a custom
> subclass of my own, and provide some project-level urls for the AdminSite.
> However, I would like to still benefit from the autodiscover feature.
>
> Is there a way I can
I would like to create a custom AdminSite instance, using a custom subclass
of my own, and provide some project-level urls for the AdminSite. However,
I would like to still benefit from the autodiscover feature.
Is there a way I can instance a custom AdminSite subclass, and have that
instance r
Answer: create a django app for such utility: you will be able to use app
features decoupled from specific model
On Friday, January 22, 2016 at 4:09:47 PM UTC+1, Benj wrote:
>
> Since I follow the recommended way of creating signal, I create a
> signals.py file in a project's app, an app.py conf
Yes, I didn't thought about creating a whole app for utilities, but it is
indeed the way to go. Tks
On Friday, January 22, 2016 at 4:20:55 PM UTC+1, Rafael E. Ferrero wrote:
>
> Maybe you find useful make your project into a reusable app look at this
> https://docs.djangoproject.com/en/1.9/intro
Hi all.
I was demanded to create an online service/portal in Django, and this is my
first project in Django.
Roughly, the portal should have two restricted areas:
- Our ( operators/providers ) restricted area, supposed to be created with
"admin" generator.
- Our customer's restricted area, with
On Fri, Jan 22, 2016 at 7:06 AM, Galil wrote:
> That was helpful James, we are nearly there.
>
> You were right the output was "DB Password:", with an empty string. I
> added my password as default value like:
>
> 'PASSWORD': os.environ.get('CDR_DB_PASSWORD', 'my_password_here'),
>
> but
but i can the show how many people to view in my html template ?
Τη Παρασκευή, 22 Ιανουαρίου 2016 - 5:02:46 μ.μ. UTC+2, ο χρήστης Xristos
Xristoou έγραψε:
>
> hello,
>
>
> i want to know how many people view my site and how many view one to one
> my posts specific.
> my site is simple i have tw
I would say the same, use Google Analytics or another platform like Piwik
El viernes, 22 de enero de 2016, 17:09:34 (UTC+1), Lucas Magnum escribió:
>
> Thought about using Google Analytics for that?
>
> []'s
>
> Lucas Magnum.
>
> 2016-01-22 13:02 GMT-02:00 Xristos Xristoou >:
>
>> hello,
>>
>>
>>
Thought about using Google Analytics for that?
[]'s
Lucas Magnum.
2016-01-22 13:02 GMT-02:00 Xristos Xristoou :
> hello,
>
>
> i want to know how many people view my site and how many view one to one
> my posts specific.
> my site is simple i have two templates one with all my post and one wit
Maybe you find useful make your project into a reusable app look at this
https://docs.djangoproject.com/en/1.9/intro/reusable-apps/
Cheers !!
Rafael E. Ferrero
2016-01-22 11:30 GMT-03:00 Benjamin Melki :
> Hello,
>
> i’m building my first site with this great framework and language that are
>
Since I follow the recommended way of creating signal, I create a
signals.py file in a project's app, an app.py config file, and initialize
that in __init__.
@receiver(pre_delete, dispatch_uid='document_delete_signal')
But what if I don't want this to be tied to a specific app in the project,
That was helpful James, we are nearly there.
You were right the output was "DB Password:", with an empty string. I added
my password as default value like:
'PASSWORD': os.environ.get('CDR_DB_PASSWORD', 'my_password_here'),
but there is something really strange happening.
When I use th
hello,
i want to know how many people view my site and how many view one to one
my posts specific.
my site is simple i have two templates one with all my post and one with
post details.
but i dont know how to do that i am new in django.
the start is to add a new field in my class
view = mod
Currently I want to allow certain users access to a certain administrator
page to allow or deny access for other users for a part of the tool.
I have overridden has_permission to grant access, however it says that "You
don't have permission to edit anything".
I've since tried overriding has_add/
Hello,
i’m building my first site with this great framework and language that are
Django and Python.
I try as much as possible to favor code reuse.
On one of my model, I do some work with the instance before saving it.
Works is mostly image related: resizing image, compressing, saving thumbs, an
Do you already read this ?
http://stackoverflow.com/questions/1317899/django-projects-as-desktop-applications-how-to
Rafael E. Ferrero
2016-01-22 10:06 GMT-03:00 Carlos Andre :
> It is a good idea even, except I already did with nginx, did not create a
> file of those you mentioned going to do
It is a good idea even, except I already did with nginx, did not create a
file of those you mentioned going to do, the problem is that my client is a
layman and I would like this program to be executed as well as others he
knows. But for security, I would like another way, only to have another
path
Carlos, and why not install nginx or something in localhost? maybe you can
do a little app to start or stop the service to connect or disconnect your
application.
if is only one machine you can do, it's not recommended, start and stop the
buildin django server with your little .exe
Rafael E. Fe
Hi to all, i want do my project in django, run as exe in localhost. The
motivation, the client who want this!
Thanks to all!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send a
look my version django cant not be use url 'like_post' because show me
errow only 1.5 version django can use that
Τη Τρίτη, 19 Ιανουαρίου 2016 - 5:35:09 μ.μ. UTC+2, ο χρήστης Xristos
Xristoou έγραψε:
>
> hello,
>
>
> i want to create a query for likes in my post details
>
> my html tags
>
> {{mo
20 matches
Mail list logo