Re: Redesign of agricultural project with python django and next.js technologies.

2024-02-18 Thread Carlos Romero Martin
. >>>> · Design and develop forms for users to submit ratings and reviews. >>>> · Implement the logic to display ratings and reviews of products and >>>> vendors on their respective pages. >>>> >>>> Messaging: >>>> >

Re: Freelance Django and Python work

2023-06-30 Thread Carlos Romero Martin
I'm interested Le jeu. 29 juin 2023 à 23:56, M. Guy Sylvestre a écrit : > Je suis intéressé . > > > Le mar. 13 juin 2023, 11:30, אורי a écrit : > >> Hi, >> >> I'm looking for a programmer to hire as a freelancer for Django and >> Python work. >> >> - Experience with Python and Django >> -

Re: Freelance Django and Python work

2023-06-30 Thread Enzo Martin Zotti
Estoy interesado El jue, 29 jun 2023 a la(s) 18:56, M. Guy Sylvestre ( guysylvestre...@gmail.com) escribió: > Je suis intéressé . > > > Le mar. 13 juin 2023, 11:30, אורי a écrit : > >> Hi, >> >> I'm looking for a programmer to hire as a freelancer for Django and >> Python work. >> >> -

Re: Custom Unique Registration Number Required

2023-04-11 Thread Martin Mwai
It depends whether you want it on the front end or backend : for front end have a function thats add the above abbreviations before inserting the data into the form. assuming the form has all the variables (school, year, dept, 0213) parse this to the function then it returns registration number

Re: Migration running in shell, but no change in DB

2023-04-06 Thread 'Martin Heitmann' via Django users
So, I put this at the start of my router.py: import logging logger = logging.getLogger(__name__) I have never used that, but I hope it is right. Then below at the app's router and the allow_migrate def I did this: def allow_migrate(self, db, app_label, model_name=None, **hints): if

Re: Migration running in shell, but no change in DB

2023-04-06 Thread 'Martin Heitmann' via Django users
you said you have a router.py file in your project? put it in there. > > On Thursday, April 6, 2023 at 10:50:15 AM UTC-4 Martin Heitmann wrote: > >> Dear Jason >> >> db per project/app: Okay, I will keep that in mind for the future. I just >> thought that it

Re: Migration running in shell, but no change in DB

2023-04-06 Thread 'Martin Heitmann' via Django users
ch db app name"), or raise Exception("db does not match app name"))? Does this belong in the router.py or migration file or another place? Best regards Martin On Wednesday, April 5, 2023 at 9:40:27 PM UTC+2 Jason wrote: > ahhh, no not at all. One db per project, yes. Application

Re: Migration running in shell, but no change in DB

2023-04-05 Thread 'Martin Heitmann' via Django users
ngoproject.com/en/4.1/topics/db/multi-db/#allow_migrate > state > > > *makemigrations always creates migrations for model changes, but if > allow_migrate() returns False, any migration operations for the model_name > will be silently skipped when running migrate on the db

Re: Migration running in shell, but no change in DB

2023-04-02 Thread 'Martin Heitmann' via Django users
A little PS: I logged in via phpmyadmin and saw that my user has all privileges. So this should not be the source of the problem. On Saturday, April 1, 2023 at 8:07:57 PM UTC+2 Martin Heitmann wrote: > I have a little update, but not a solution. Adding the database to > sqlmigrate will g

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
eld w_bezahlt on waeschepaket -- And for whatever reason it includes only the table creation and not the change in the other field. On Saturday, April 1, 2023 at 7:46:51 PM UTC+2 Martin Heitmann wrote: > Dear Jason > > I went two migration steps back, then again I did makemigrations and th

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
Dear Muhammad Thanks, but I did that several times. And I also check the INSTALLED_APPS. It is listed there, as it was before. :/ Best regards Martin On Saturday, April 1, 2023 at 2:48:05 PM UTC+2 Muhammad Juwaini Abdul Rahman wrote: > Try running: > ``` > ./manage.py makem

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
; code. for example, sharing the migration generated would be helpful. you > do have the context of how and what is being executed, we don't, so sharing > that with your original questions is a big part in getting effective help > On Saturday, April 1, 2023 at 4:08:06 AM UTC-4 Martin

Re: Migration running in shell, but no change in DB

2023-04-01 Thread 'Martin Heitmann' via Django users
The migrations do not show up in the django_mirations table. The problem must occur earlier. On Saturday, April 1, 2023 at 8:42:20 AM UTC+2 David Nugent wrote: > I would check in the django_migrations table to ensure that the migration > has successfully been run. > > >

Migration running in shell, but no change in DB

2023-03-31 Thread 'Martin Heitmann' via Django users
it with an altered models.py in another app and the result is the same. Do you have any advice how to narrow this down? Best regards Martin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fro

Re:

2022-09-26 Thread Martin Mambo
Add me +254719101407 On Mon, 26 Sept 2022, 23:14 Tom Lafferty, wrote: > 814-380-6157 > > Thank you > > -Tom > > > > On Mon, Sep 26, 2022 at 4:12 PM Giovanni Silva wrote: > >> +5531995321877 >> >> >> Em 26 de set. de 2022, à(s) 15:31, Daniel Joseph < >> ogooluwawealth.jo...@gmail.com> escreveu:

Mpesa integration.

2022-09-05 Thread Martin Mambo
Anyone whose successfully impilimented mpesa into django please help -- 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 an email to django-users+unsubscr...@googlegroups.com.

Re: for loop + transaction.on_commit + celery = Unexpected Behaviour

2021-12-03 Thread Martin Pätzold
This is an older topic, but for everyone who found this discusion and had the same issue: The problem is most likely using "lambda" inside a for-loop. If you switch out "lambda" for "functools.partial" it should work as expected. Jani Tiainen schrieb am Donnerstag, 27. April 2017 um 08:27:11

Re: Ongoing project

2020-12-19 Thread Carlos Romero Martin
Hello Peter, I’m interested to join team. Carlos Romero Martin Le vendredi 18 décembre 2020, 17 h 49 min 30 s CET Sujayeendra G a écrit : > Hello Peter, > I’m interested to join team. -- -- You re

Re: Looking to join a team in a Django Project to gain Experience

2020-11-30 Thread Carlos Romero Martin
I'm interested Regards Carlos Romero Martin Le lundi 30 novembre 2020, 5 h 16 min 24 s CET Nagaraju Singothu a écrit : > I'm interested > > On Mon 30 Nov, 2020, 8:56 AM , wrote: >

Re: MDN Locallibrary project - syntax error on 'export DJANGO_DEBUG=False'

2019-10-11 Thread John Martin
Try retyping the lines from scratch. You may have picked up a unicode version of single quote, or similar substitution, through copy/pasting. John On 11/10/2019 14:12, fishbite wrote: Hi there, I've been working on the MDN Locallibrary project and am just preparing to publish the website on

Re: Django FastCGI and static files

2019-09-17 Thread Martin Jaan Leesment
It works by moving static directory but was wondering about a more intelligent solution, that is, if it exists with fastcgi. -- 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

Django FastCGI and static files

2019-09-17 Thread Martin Jaan Leesment
Hey I'm new to serving Django website on a shared server as well as using fastcgi and .htaccess so this might be a basic question. Namely I'm having difficulties serving static content. I've tried playing with htaccess rules, but no luck yet. My project structure: myproject/ ├── myapp │ ├──

Re: Question about makemigrations

2019-06-21 Thread Martin Kong
Hello I make python manage.py migrate instead,but that should be the next step tho Regards Martin On Fri, 21 Jun 2019 at 7:45 PM, Sebastian Jung wrote: > Hello, > > Do you make python3 manage.py migrate after makemigrations? > > Regards > > Martin Kong schrieb am Fr.,

Question about makemigrations

2019-06-21 Thread Martin Kong
Hello I am new to django, and i am following the tutorial provide in github, from the tutorial. The tutorial I am following is https://github.com/django/django/blob/master/docs/intro/tutorial02.txt and start from 227, it shows the following instructions: .. console:: $ python manage.py

Django active sessions

2019-03-22 Thread Alejandro Martin Herve
I would like to know if there is a way to detect if a session is no longer active. I have a Django web app that when a user logs in, his session is set to expire at browser close request.session.set_expiry(0) this will close the session at browser close efectively but his expire time gets a

Django active sessions

2019-03-22 Thread Alejandro Martin Herve
Hi, I would like to know if there is a way to detect if a session in no longer active, I'll explain better. I have a setup in my web app where when a user logs in automatically his session is set to expire at browser close: request.session.set_expiry(0) But despite this work effectively, the

Re: template not exist error snap in attechment

2019-01-11 Thread Martin K
> > TEMplate DIrectory > PROJECT/APP/template/blog/detail.html > > You see directly in the error that template should be located in PROJECT/APP/template/blog/*post*/detail.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Django multiple Model Forms in template

2018-06-23 Thread martin . ma012500
Hi. I have changed views.py last line to this: return render(request, 'assumptions.html', {'formset': formset,'model_names': model_names,'name': name}) As a result, it outputted more forms, however they do not save to model forms to database and raise Validation Error ['ManagementForm data is

Re: Login

2017-12-04 Thread Martin Peveri
Check this: https://simpleisbetterthancomplex.com/tutorial/2016/06/27/how-to-use-djangos-built-in-login-system.html El lunes, 4 de diciembre de 2017, 14:49:32 (UTC-3), chaitanya.creator escribió: > > Hi > i am new users django .please help in making a login system using django > Thank you

Re: How to fix "plural forms expression could be dangerous"

2017-05-21 Thread Martin Brochhaus
> On Thu, May 18, 2017 at 7:41 AM, Martin Brochhaus > <martin.b...@gmail.com > wrote: > > Hi everyone, > > > > in my project, I am generating my .po files like this: > > > > python manage.py makemessages --ignore=node_modules/* > --ignor

How to fix "plural forms expression could be dangerous"

2017-05-18 Thread Martin Brochhaus
ame faulty expression again when I run makemessages? What would a correct expression look like for Chinese? Best regards, Martin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Filter list dict in JsonField Postgres

2017-04-03 Thread Martin Peveri
Hi, I have this model: class ItemCampaign(models.Model): campaign = models.ForeignKey( Campaign, related_name="itemscampaign", verbose_name="Item campaña" ) data = JSONField(default=dict) def __str__(self): return self.campaign.name With a record with this data:

Re: Update dict JsonField Postgresql

2017-03-28 Thread Martin Peveri
marzo de 2017, 6:58:51 (UTC-3), Melvyn Sopacua escribió: > > On Monday 27 March 2017 15:03:17 Martin Peveri wrote: > > > Perfect!! This code works: > > > > > > data = objectitem.data > > > > > > data[0]['processed'] = True > > >

Re: Update dict JsonField Postgresql

2017-03-27 Thread Martin Peveri
the records: objectitem.filter(data__contains=[{'processed': True}]) Thanks!!! El lunes, 27 de marzo de 2017, 14:29:13 (UTC-3), Melvyn Sopacua escribió: > > Hi, > > > > On Monday 27 March 2017 08:50:04 Martin Peveri wrote: > > > > To

Re: Update dict JsonField Postgresql

2017-03-27 Thread Martin Peveri
escribió: > > Hi Martin, > > > > On Monday 27 March 2017 07:05:38 Martin Peveri wrote: > > > Hi Melvyn, With "not working", I mean that it does nothing. For > > > example > > > > > > This line > > > > > > >

Re: Update dict JsonField Postgresql

2017-03-27 Thread Martin Peveri
el.objects.create(data={[..my dicts ]} That's wrong? Thanks! El lunes, 27 de marzo de 2017, 11:52:37 (UTC-2), Melvyn Sopacua escribió: > > On Monday 27 March 2017 05:56:34 Martin Peveri wrote: > > > > > But not working. > > > > > > Any Idea?. > >

Update dict JsonField Postgresql

2017-03-27 Thread Martin Peveri
Hi everyone, I have a model model like this: class ItemCampaign(models.Model): campaign = models.ForeignKey( Campaign, related_name="itemscampaign", verbose_name="Item campaña" ) data = JSONField(default=dict) def __str__(self): return self.campaign.name The field

Password hashing parameters selection methodology description

2016-12-23 Thread Martin Koistinen
Django has a very nice implementation for hashing passwords using PBKDF2 and a number of iterations to increase the work-load. Thanks! I know this is very customizable and I know how to do this. This post is not about "how". What I would like to know is the methodology and "inputs" into

Re: jasig cas integration

2016-07-31 Thread Martin Pépin
Hi, Jasig works perfectly fine with django-cas but the django-cas-ng module has to be prefered to it's old and no longer supported predecessor. Cheers ! Martin Pépin Le 31/07/2016 à 13:48, Mahyar Damavand a écrit : > Hi all, > Is it possible to integrate django-cas client with a Jas

Re: Post doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS

2016-05-24 Thread Paul Martin
://127.0.0.1:8081/ > Quit the server with CONTROL-C. > /home/martin/Downloads/site1/site1/reg/models.py:30: > RemovedInDjango19Warning: Model class site1.reg.models.Post doesn't declare > an explicit app_label and either isn't in an application in INSTALLED_APPS > or

PDF page break

2016-05-22 Thread Suzal Martin
I wants to know how to use the page break for PDF having more no of rows, including header and footer. -- 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 an email to

How and where should I put a version number in my Django project?

2016-05-03 Thread Martin Torre Castro
I'm making a Django project consisting of several apps and I want to use a version number for the whole project, which would be useful for tracking the status of the project between each time it comes to production. I've read and googled and I've found how to put a version number for each

Django formtools wizard produces blank page (No error returned)

2016-01-30 Thread Martin Torre Castro
I'm trying to use the formwizard in formtools package with no success (I was able to do it when the package was inside Django in earlier versions). The only response I got is: [23/Jan/2016 11:06:50]"GET /registration/wizard HTTP/1.1" 200 13729 and a blank page. No errors in browser or

Custom field reference flowchart

2016-01-12 Thread martin f krafft
_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

What am I supposed to do if I want a Wizard?

2015-12-09 Thread Martin Torre Castro
Hello, I was investigating about form wizards in Django, but I have seen that recently this has changed in the deprecation timeline doc: "The form wizard has been refactored to use class-based views with pluggable backends in 1.4. The previous implementation will be removed." I understand

Re: Forms questions

2015-09-19 Thread Martin Torre Castro
If there's a file in the form data, I'm no expert but I have fought a little with forms and files and I advise you to look in the internet for multipart forms and file inputs inside forms. On Tuesday, 25 August 2015 21:12:46 UTC+2, Hugo Kitano wrote: > > I've realized that the action field in

Re: Ajax in Django

2015-09-19 Thread Martin Torre Castro
If you use jQuery (I do), making AJAX requests is incredibly easy. Just use the $.get(), $.post() or $.ajax() functions. If you have any doubt, the api.jquery.com page has all the references and information for using them (search for jQuery.get(), jQuery.post() and jQuery.ajax() ). On Monday,

Re: DJANGO

2015-09-19 Thread Martin Torre Castro
Search in Google "tangowithdjango" and "gettingstartedwithdjango". The first one maybe is best fr beginners On Thursday, 10 September 2015 17:41:07 UTC+2, Arindam sarkar wrote: > > The django tutorial itselt > https://docs.djangoproject.com/en/1.8/intro/tutorial01/ > On Thu, Sep 10, 2015 at

Best way to trigger javascript function when returning a page from django view

2015-09-19 Thread Martin Torre Castro
Hello, I have a django project where I make requests to the server views both by AJAX and the usual simple URL requests to Django. The thing is that I have made one javascript function for storing the forms contents in the HTML5 webstorage and I want to clear the stored data after coming

Re: Not getting static files with django & heroku deployment

2015-09-19 Thread Martin Torre Castro
s las two books "2 scoops...". > > I will look about this links along today (kind of holidays here) and > answer soon. > > Thanks > El 5/7/2015 3:44 a. m., "Malik Rumi" <malik@gmail.com > > escribió: > >> Hi Martin, >>

NoReverseMatch password_reset Error

2015-09-17 Thread Martin Jablečník
Hello, on Stackoverflow I created this question: http://stackoverflow.com/questions/32625997/upgrade-django-and-noreversematch-password-error Do you know anybody how can I fix it? I tried somethong from this:

TextField in Oracle: any alternatives?

2015-07-10 Thread Robert Martin
Hi all, I have a question about best practices with storing strings in an Oracle DB. I've grown accustomed to using TextFields wherever possible, as I mainly work in Postgres and this seems to be recommended: http://stackoverflow.com/questions/7354588/django-charfield-vs-textfield However,

Not getting static files with django & heroku deployment

2015-07-04 Thread Martin Torre Castro
Hello, I'm developing a webapp with Django 1.7 (project_name is "sonata") and the project layout from the "Two scoops of Django 1.6", so I have a 3-tier basic folder tree. .├── requirements└── sonata ├── person │ └── templatetags ├── registration ├── sonata │ └──

Oracle GIS backend - no bulk_create?

2015-07-02 Thread Robert Martin
Hi all, I've been trying to do a bulk_create using the Oracle GIS backend (Django 1.8.2) and getting an AssertionError: File "C:\Users\robert.martin\Envs\ais\lib\site-packages\django\contrib\gis\db\backends\oracle\operations.py" , line 248, in modify_insert_params assert

Re: Heroku: without NULL bytes error with "2 scoops" structure

2015-06-14 Thread Martin Torre Castro
I resolved this. I was doing wrong and not making git commit when editing requirements.txt files. On Saturday, 13 June 2015 10:00:18 UTC+2, Martin Torre Castro wrote: > > Hello, > > I posted this because I can't deploy a webapp with Heroku. Any ideas? > > > http://stacko

Heroku: without NULL bytes error with "2 scoops" structure

2015-06-13 Thread Martin Torre Castro
Hello, I posted this because I can't deploy a webapp with Heroku. Any ideas? http://stackoverflow.com/questions/30816367/heroku-string-without-null-bytes-with-several-requirements-files Thanks for reading -- You received this message because you are subscribed to the Google Groups "Django

Re: create comment programmatically from CommentForm embedded in another form

2015-05-07 Thread Martin Beroiz
I just found out the CommentForm actually requires to set target_object for initialization. It should've been commForm = CommentForm(target_object = myobj, data=request.POST) Sorry for the noise on the list! On Thursday, 7 May 2015 18:05:09 UTC-5, Martin Beroiz wrote: > > Hello, &

create comment programmatically from CommentForm embedded in another form

2015-05-07 Thread Martin Beroiz
ast create a whole Comment() instance from scratch and filled it all with the correct data, but it seemed to me like a hack, bypassing all the security checks built-in in the comment package. How would I go about to save a comment programmatically from my custom view/form? Thanks, Martin. -- Yo

Re: Django 1.6.4 debug-toolbar confusing error

2015-03-08 Thread Martin Torre Castro
I fixed it by following this http://django-debug-toolbar.readthedocs.org/en/1.2.2/installation.html In my case, I had the wrong name in INSTALLED_APPS and I lacked this piece of code in urls: if settings.DEBUG: import debug_toolbar urlpatterns += patterns('',

Re: Django 1.6.4 debug-toolbar confusing error

2015-03-08 Thread Martin Torre Castro
I have same problem. May it be related to urlconf? On Friday, 23 May 2014 12:06:19 UTC+2, Florian Auer wrote: > > Hi > > I am running 2 django 1.6.4 projects, both with debug toolbar enabled. > > The first one ist a simple project, following the a cookbook tutorial and > the toolbar works fine

Django CMS 3.0.12 Released!

2015-03-04 Thread Martin Koistinen
*Django CMS 3.0.12 Released!* This quick-cycle release fixes a regression discovered by a user shortly after the release of 3.0.11. -- 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

Django CMS 3.0.11 Released!

2015-03-04 Thread Martin Koistinen
*Django CMS 3.0.11 Released!* This is mostly a bug-fix release, but there's at least one very interesting thing added: better support for using the same application in multiple apphooks! Using this combined with aldryn-apphooks-config () you can use a single app in multiple places in your

Re: Django 1.7 migrate for postgres fails: Charfield to ForeignKey

2015-02-21 Thread Martin Kapfhammer
Alright, so I uncommented the creation of the CharField and changed the AlterField to an AddField operation. Worked! :) Thank you -- 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

Re: Django 1.7 migrate for postgres fails: Charfield to ForeignKey

2015-02-20 Thread Martin Kapfhammer
column. > Then add the new column, make migrations and apply. > > On Fri, Feb 20, 2015 at 2:30 PM, Martin Kapfhammer <mart.ka...@gmail.com > > wrote: > >> First I created a CharField: >> ('currency', models.CharField(max_length=30)), >> >&

Django 1.7 migrate for postgres fails: Charfield to ForeignKey

2015-02-20 Thread Martin Kapfhammer
ould I add this via RunSQL between the migrations. If so, how? Or is there a better way? Thanks, Martin -- 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 an email to d

Re: is there a Django library for AJAX support

2015-01-05 Thread Martin Formanko
In the past (2 years ago), when I used dajaxice, it was quite unstable and definitely not robust - it took some time after I understood how to react to different (erroneous) behavior. It would be better that time to code my own library, so that I could understand it more deeply in case of errors

Advice about composing several templates

2015-01-04 Thread Martin Torre Castro
Hello, I'm developing a web application with Django and we have met a dilemma about the design. We were making one template for every screen, but right now we have detected that some parts of of the screen with the information are repeated all over the different screens. For example, when

Write Multiple Text Files into a Single CSV File

2014-12-31 Thread Martin Mirero
Hi folks, I'm just cutting my teeth on Python/Django and need some assistance on something I've been grappling with for a few days: - I have a bunch of text files on disk that all have the same basic format: first line is the *title* and the rest is the *body* - I want to create one

Re: Obtaining content from Git

2014-11-24 Thread martin f krafft
net. For more options, visit https://groups.google.com/d/optout. digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Re: Obtaining content from Git

2014-11-24 Thread martin f krafft
googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20141124114316.GA19818%40albatross.lehel.madduck.net. For mor

Re: Obtaining content from Git

2014-11-24 Thread martin f krafft
124104910.GA11742%40albatross.lehel.madduck.net. For more options, visit https://groups.google.com/d/optout. digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Re: Obtaining content from Git

2014-11-24 Thread martin f krafft
ps.google.com/d/optout. digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Re: Obtaining content from Git

2014-11-23 Thread martin f krafft
sers@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20141124054512.GA14198%40fishbowl.rw.madduck.net. For more options, visit https://groups.google.com/d/optout. digital_signature_gpg.asc De

Obtaining content from Git

2014-11-22 Thread martin f krafft
m/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20141122212847.GA26476%40fishbowl.rw.madduck.net. For more options, visit https://groups.google.com/d/optout. digital_signature_gpg.asc Description: Digital signature (see http://martin-kraff

Obtaining content from Git

2014-11-21 Thread martin f krafft
ogle.com/d/optout. digital_signature_gpg.asc Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

How to deny access to a logged user directly to a specific URL

2014-10-17 Thread Martin Torre Castro
Hello, at my project we need some sort of system for allowing/denying some access to an URL. The example, we want to make some kind of wizard. 1. The user inputs the first object at the the first screen (A screen), and then he press "Continue". 2. Now we get the data and redirect

Multi-table inheritance models not working for me

2014-10-08 Thread Martin Torre Castro
Hello, I want to make a hierarchy over a DB design as described in "Fundamentals of database systems" from Elmasri & Navathe. This implies that when I have some info which is shared for many classes/tables, I can put it in a main parent table and use the main table id as foreign key in the

Re: UdateView Issues

2014-09-17 Thread Michael Martin
Collin, You are right I was missing the .as_view() I am now getting an exception: Exception Value: Generic detail view GeneralConfigurationUpdate must be called with either an object pk or a slug. I looked at the example here and I don't see anything mentioning setting up a slug. I believe

UdateView Issues

2014-09-17 Thread Michael Martin
I was looking into the generic views that existed and I hoping that this view would work for me. I expect that the view will display current model as an editable form. But I am having issues, I get some odd exception. Can someone that has experience please help me? UpdateView *class

Re: What't the best way to track created by and modified by in Django 1.7?

2014-09-16 Thread Michael Martin
might find some pre-rolled django apps that can help: > > https://www.djangopackages.com/grids/g/versioning/ > > I can't speak from experience on any of them, but they exist, and you > might find that one of them meets your needs. > > Yours, > Russ Magee %-) >

Re: User Created Objects (models)

2014-09-16 Thread Michael Martin
Mike, Thanks for responding. I seem to be getting an error when I try to make foreign keys in my model. Do you have any idea why? My Model that I am adding is called GeneralSetting I am now importing: from django.db import models from django.contrib.auth.models import User I added under my

What't the best way to track created by and modified by in Django 1.7?

2014-09-15 Thread Michael Martin
Hello, I am sure that I am not the first person to ask this question, but I want to know the best way to track who created or modified a record in my settings defined within models.py. Is there something new and great added to 1.7 or something that already exists in older versions? Thank you

Re: Django Modeling setting an integer value to a negative value

2014-09-15 Thread Michael Martin
Sorry, I am just blind as a bat. I didn't realize that there were two settings with very similar names. On Mon, Sep 15, 2014 at 6:09 PM, Michael Martin <mikemartin...@gmail.com> wrote: > Is it possible to default a integer to a negative number with Django > Modeling? > > I

Re: Django Modeling setting an integer value to a negative value

2014-09-15 Thread Michael Martin
gt;. Default is True. On Mon, Sep 15, 2014 at 6:09 PM, Michael Martin <mikemartin...@gmail.com> wrote: > Is it possible to default a integer to a negative number with Django > Modeling? > > I did the following, but the value in the display shows 1 not -1 > > &g

Django Modeling setting an integer value to a negative value

2014-09-15 Thread Michael Martin
Is it possible to default a integer to a negative number with Django Modeling? I did the following, but the value in the display shows 1 not -1 ces_out_servicegrid_polling_interval=models.IntegerField(default=-1, editable=False) -- You received this message because you are subscribed to the

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
I just looked at my ticket and it was marked as a duplicate of issue 2201. http://bugs.jython.org/issue2201 On Fri, Sep 12, 2014 at 3:11 PM, Michael A. Martin <mikemartin...@gmail.com> wrote: > The same application works fine on jython2.7b2 and Django 1.7 > > I followed

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael A. Martin
ing up your static > files, which is a possibility. > > -James > > > >> On Friday, September 12, 2014, Michael Martin <mikemartin...@gmail.com> >> wrote: >> After trying so many things regarding the settings in Django I found that >> the issue i

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
is unable to render pages that use Java Script and CSS. I would like to have this fixed and I will look for where to report the bug. I did find that you can run jython2.7b2 and Django 1.7 official release together and pages will render. On Thu, Sep 11, 2014 at 11:59 PM, Michael Martin <mikemar

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
https://www.youtube.com/watch?v=JZVPbHilwLI On Thu, Sep 11, 2014 at 11:59 PM, Michael Martin <mikemartin...@gmail.com> wrote: > opps, I forgot the url > com/watch?v=JZVPbHilwLI > > On Thu, Sep 11, 2014 at 11:52 PM, Michael Martin <mikemartin...@gmail.com> > w

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
opps, I forgot the url com/watch?v=JZVPbHilwLI On Thu, Sep 11, 2014 at 11:52 PM, Michael Martin <mikemartin...@gmail.com> wrote: > I know there has to be something wrong with either jython2.7b3 or with the > django 1.7 releases. What I did was follow someones tutorial to show whe

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
to render anything for me. On Thu, Sep 11, 2014 at 6:21 PM, Lachlan Musicman <data...@gmail.com> wrote: > Did you run > > python manage.py collectstatic > > ? > > cheers > L. > > On 12 September 2014 11:11, Michael A. Martin <mikemartin...@gmail.com>

Re: Django 1.7 has issues rendering pages on laptop

2014-09-11 Thread Michael A. Martin
It seems like when I take all the CSS and JS the html renders with images. But this site rendered with a previous version. I pretty much ruined this dev project today trying to figure it out. I don't know why this worked on the older version but not this version. > On Sep 11, 2014, at 9:38

Re: Django 1.7 has issues rendering pages on laptop

2014-09-11 Thread Michael Martin
https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js&quot</a>;> On Thu, Sep 11, 2014 at 9:32 AM, Michael Martin <mikemartin...@gmail.com> wrote: > I just sent my settings, but as you can see I have debug turned on and > d

Re: Django 1.7 has issues rendering pages on laptop

2014-09-11 Thread Michael Martin
I just sent my settings, but as you can see I have debug turned on and django.contrib.staticfiles in the installed apps. Someone please help me, I can't do any development like this. On Thu, Sep 11, 2014 at 9:29 AM, Michael Martin <mikemartin...@gmail.com> wrote: > ""

Re: Django 1.7 has issues rendering pages on laptop

2014-09-11 Thread Michael Martin
""" Django settings for lwc project. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ """ # Build paths inside the project like this:

Has anyone had issues with the server in 1.7 running dog slow or not at all?

2014-09-08 Thread Michael A. Martin
Has anyone had issues with the server in 1.7 running dog slow or not at all? I was using a beta version of 1.7 and the server ran on top of jython with no issue. The only thing that was failing was migrations. Now I do a jython manage.py runserver 8080 and the browser seems to not want to

Re: Newbie question about Django and Python versions.

2014-09-08 Thread Michael A. Martin
Is anyone else trying out 1.7? I do a jython manage.py runserver 8080 and then it seems to want to render but isn't. > On Sep 8, 2014, at 1:30 PM, Andrey Consalter wrote: > > Hi there, > > I've been studying programming with Python 2.7 and Django 1.6, and a few days >

Re: django-jython: I am getting an error when I run the migrate command on Jython-Django 1.7

2014-09-08 Thread Michael Martin
I ran sqlmigrate because I understand that it creates the sql calls which are to be ran against the database via the database connecter. I am not a DBA, but my first opinion is that the sql calls don't look right to me. Anybody out there know SQL for Postgresql really well?

Re: Does Django detect changes in models Meta ?

2014-09-08 Thread Michael A. Martin
Maybe Migrations is just really buggy? I am using PostgreSQL as the backend. I added a column with a default value and then did makemigrations then migrate. It doesn't work. I get a very long error. > On Sep 7, 2014, at 8:54 AM, Malik Rumi wrote: > > Django 1.7rc2

Re: Does Django detect changes in models Meta ?

2014-09-08 Thread Michael A. Martin
Migrations in 1.7 is the replacement for south. > On Sep 2, 2014, at 1:44 PM, Norman Bird wrote: > > OK, I found out that in order to change the schema of the tables one has to > install and run a migration tool. I used south. just install south and check > out their

  1   2   3   4   5   6   >