Re: how many visitors has view my posts and how many visitors view my site

2016-01-22 Thread Lucas Magnum
Thought about using Google Analytics for that? []'s Lucas Magnum. 2016-01-22 13:02 GMT-02:00 Xristos Xristoou <saxr...@gmail.com>: > 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

Re: Template can't find image file

2015-12-08 Thread Lucas Magnum
Have you changed your urls.py? https://docs.djangoproject.com/en/1.9/howto/static-files/#serving-static-files-during-development []'s Lucas Magnum. 2015-12-07 21:45 GMT-02:00 Gary Roach <gary719_li...@verizon.net>: > While I'm working with "Tango with Django" I

Re: How to count the amount of objects in a django joined table?

2014-02-03 Thread Lucas Magnum
{% for user in object_list %} {{ user.id }} Number of assets: {{ user.assets_set.count }} {% endfor %} []'s Lucas Magnum. 2014-02-03 hykyd <chrisvele...@gmail.com>: > My problem is simple: I have **Us

Re: CreateView and get_context_data()

2013-11-22 Thread Lucas Magnum
Timothy, The "get_context_data" is called in *get* method, once you override it "get_context_data" isn't called anymore. You can see in http://ccbv.co.uk/projects/Django/1.4/django.views.generic.edit/CreateView/ []'s Lucas Magnum. 2013/11/22 Timothy W. Cook <

Re: ImproperlyConfigured at /admin/polls/poll/add/ 'model' is a required attribute of 'PollAdmin.inlines[0]'.

2013-10-23 Thread Lucas Magnum
Rename the attribute "mode" to *model* in the ChoiceInline. []'s Lucas Magnum. 2013/10/23 Adrian Paul Ciobanita <adrian.cioban...@gmail.com> > Hello, i've been playing with Django 1.5.4 for some TDD tutorials, > examples, and tried to also do the tutorial : > https://

Re: RequestContext and request.user

2013-08-16 Thread Lucas Magnum
Robin, RequestContext, includes TEMPLATE_CONTEXT_PROCESSORS results. request is a result of "django.core.context_processors.request". https://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext []'s Lucas Magnum. 2013/8/16 Robin Lery <robinl

Re: ajax and django

2013-07-26 Thread Lucas Magnum
https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax []'s Lucas Magnum. 2013/7/26 Lucas Magnum <lucasmagn...@gmail.com> > Are you passing crsf_token in ajax post? > > []'s > > Lucas Magnum. > > > 2013/7/26 heni yemun <heno...@gmail.com> > >&

Re: ajax and django

2013-07-26 Thread Lucas Magnum
Are you passing crsf_token in ajax post? []'s Lucas Magnum. 2013/7/26 heni yemun <heno...@gmail.com> > Hi, > I'm trying to get a django project interact with ajax based site. The > problem is that when i use the send function to send a POST data > asynchronously the django

Re: Issues saving form data

2013-06-14 Thread Lucas Magnum
Hi Tom, Maybe I can help you. Skype: lmagnum92 []'s Lucas Magnum. 2013/6/14 Tom Russell <t...@caregointl.com> > I am having some issues saving data from a form and not sure why since it > was working just yesterday. > > Could someone take a look offline to give me some

Re: Django tutorial - The "python manage.py startapp polls" command

2013-05-27 Thread Lucas Magnum
Try: python manage.py syncdb if you already put 'django.contrib.admin' in your INSTALLED_APPS (settings.py file). []'s Lucas Magnum. 2013/5/27 Shashwat Srivastava <shashr...@gmail.com> > The "python manage.py startapp polls" command doesnt create a admin.py > file

Re: newbie- delete confirmation

2013-05-16 Thread Lucas Magnum
e "confirm" and when user submit a form, the object will be delete. []'s Lucas Magnum. 2013/5/16 tony gair <tonytheg...@gmail.com> > > I'm making a cbv with django braces > > I'm wanting to delete a record with a confirm form , does anyone know of > an exampp

Re: Collectstatic not working

2013-02-10 Thread Lucas Magnum
Remove the os.path.join(PROJECT_PATH, 'static'), >From staticfiles_dir by default this already included. []'s Lucas Magnum. 2013/2/10 Satinderpal Singh <satinder.goray...@gmail.com> > I am trying to configure the static files for my project by following the > Dja