17 fix urls and views

close #17 
ewentualnie możesz to zrobić tak:
```python
class DimgemType(object):
    DIM = 'dim'
    GEM = 'gem'
```
użycie:
```python
import DimgemType

dimgem = dimgem_type == DimgemType.DIM
```